I’m trying to minify my project making
minify: true inside app.js. However, I got an error saying:
I found something related to Uglify not been able to parse ES6. I was able to create the minified asset by changing one line in my code, but then apparently I have a problem related with the order the assets are being loaded in the bundled file. The console keep logging that one of the methods I’m using are not a function.
Does anybody have a good example of how to configure a compiler like webpack to work with Apostrophe or how I can manage the dependency order of all the assets?