Ionic build without minification

How do I run ionic build so that it does not minify or alter any of my ts/js code?

skip the --prod flag in ionic build?

Are you in angular?

Vue. If i build with the command “ionic build” without any parameters, my ts is still minimized. I’m not sure how I can skip the --prod flag if I’m not using it.

?

Thanks. That worked after installing all the necessary packages for the vue-cli-service. It would be nice if Ionic could do this as well.

1 Like

Maybe @ldebeasi can give headsup on this?

I opened an issue here: bug: build flags not passed to vue-cli-service · Issue #4642 · ionic-team/ionic-cli · GitHub We will take a look.

edit: For now, you can do npm run build -- --mode development

1 Like