Closed iabok closed 6 years ago
Each time i run a production build, the build fails on Vue-cache module with this error. UglifyJs Unexpected token: operator (>) [./node_modules/vuex-cache/index.module.js:1,0][app.js:43610,17]
UglifyJs Unexpected token: operator (>) [./node_modules/vuex-cache/index.module.js:1,0][app.js:43610,17]
module bundle uses es2015 syntax. You can bundle it down before minify or use something like babel-minify instead
babel-minify
You can also target index.umd.js module, which is bundled as ES5
index.umd.js
Thank you.
thanks @VitorLuizC
Each time i run a production build, the build fails on Vue-cache module with this error.
UglifyJs Unexpected token: operator (>) [./node_modules/vuex-cache/index.module.js:1,0][app.js:43610,17]