Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

UglifyJs Unexpected token: name in vue.js #938

Closed
bernessco opened this issue Jul 13, 2017 · 2 comments
Closed

UglifyJs Unexpected token: name in vue.js #938

bernessco opened this issue Jul 13, 2017 · 2 comments

Comments

@bernessco
Copy link

When i try to build vue project i get this:

ERROR in static/js/vendor.6478674a299b30d86169.js from UglifyJs
Unexpected token: name (storedTransformPropertyName_) [./~/@material/drawer/util.js:20,0][static/js/vendor.6478674a299b30d86169.js:2723,4]

I tried to set bable-loader presets to es2015, but it seems that these files ether don't go trough it or something else is happening, that i can't work it out.

@Shyam-Chen
Copy link
Contributor

see #929

@bernessco
Copy link
Author

Thanks it worked by adding resolve to bable-loader

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants