-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terser is not working properly #3418
Comments
See: #3407 (comment) |
The aforementioned workarounds does not seem to work in my case :( Following also @LinusBorg's comment, it is still not working.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.4.0
Reproduction link
https://cli.vuejs.org/guide/creating-a-project.html#vue-create
Environment info
Steps to reproduce
npm install -g @vue/cli
vue create my-project
cd my-project
npm run build
What is expected?
I can build without errors, because the project is auto generated and should work.
What is actually happening?
I get error from Terser, like this:
In
node_modules/terser-webpack-plugin/dist/minify.js
I can find this:I've found a workaround by replacing
_terser.default.minify
by_terser.minify
. This is maybe an indicator for a configuration issue. For some reason_terser.default
is not defined. Unfortunately I couldn't find a way to fix this permanently. When it comes to automated build management, the workaround can't be applied.The text was updated successfully, but these errors were encountered: