Support,
When I do "gulp" with 8.1.5 it outputs demo1/dist/assets/js/scripts.bundle.js with unminified version.
When I do "gulp --prod", it overwrites demo1/dist/assets/js/scripts.bundle.js with minified version.
I prefer to output both versions so that when I am debugging I use the unminified version for easier debugging, then when in production I use the minified version.
The typical developer will have scripts.bundle.js (unminified) and scripts.bundle.min.js available both in their application, but your build process doesn't seem to support outputting both the minified and unminified bundles.
What is the best approach to output both minified and unminified version
Hi Matt,
At the moment, both minified and unmodified versions cannot be built at a time. We suggest you to copy or use separate build output path. You can change it in the gulp.config.json file.
Thanks