Question: compress with vue plugin?
See original GitHub issueI tired to:
bili --plugins vue --compress
Error:
{ Error: Error transforming bundle with 'uglify' plugin: Unexpected token: punc (()
at error (/Users/Nemo/dev/workspace/vue-one-size/node_modules/rollup/dist/rollup.js:177:12)
at /Users/Nemo/dev/workspace/vue-one-size/node_modules/rollup/dist/rollup.js:9456:5
at process._tickCallback (internal/process/next_tick.js:109:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:508:3 code: 'BAD_BUNDLE_TRANSFORMER', plugin: 'uglify' }
Error transforming bundle with 'uglify' plugin: Unexpected token: punc (()
error Command failed with exit code 1.
My project here: https://github.com/ROYL-Design/vue-one-size
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Vuejs Webpack Compression Plugin not compressing
It seems like the compression-webpack-plugin only compresses files, but it doesn't automatically configure the dev server to serve the ...
Read more >[Deployment Issue] Problem delivering gzip files from Vue app
I have not been able to enable the delivery of all the gzip files (chunks files, svg. etc) that my vue app generates...
Read more >Vuejs Webpack Compression Plugin not compressing
Answer a question I need help debugging Webpack's Compression Plugin. SUMMARY OF PROBLEM Goal is to enable asset compression and reduce my ...
Read more >Deployment - Vue CLI
If your static frontend is deployed to a different domain from your backend API, you will need to properly configure CORS. PWA #....
Read more >Top 30 Vue JS Interview Questions 2022 - MindMajix
Ans: Vue-loader is a webpack loader plugin that allows us to develop single-file components in the vue format. Template, script, and style are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm, seems we have to insert rollup-plugin-vue before buble/babel plugin (currently it’s append-ed), will fix this later
Works fine now. Thank you!