SPA mode how to use babel plugin? #15231
Answered
by
yusufkandemir
afx919
asked this question in
CLI - PWA mode
-
I want to use the babel plugin like 'babel-plugin-transform-remove-console', but it doesn't work, console output is not deleted. babel.config.js:
How do I configure the babel plugin to take effect? It works in the Quasar V1 version, but not work in the Quasar V2. |
Beta Was this translation helpful? Give feedback.
Answered by
yusufkandemir
Jan 9, 2023
Replies: 1 comment 1 reply
-
I don't know about the babel plugin, but this should work: // quasar.config.js > build
uglifyOptions: {
compress: {
drop_console: true
}
} If you need the babel plugin for whatever reason, create a reproduction. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
afx919
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know about the babel plugin, but this should work:
If you need the babel plugin for whatever reason, create a reproduction.