Skip to content
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

Fail compiling with Webpack (production env) #254

Closed
d8vjork opened this issue Aug 31, 2017 · 4 comments
Closed

Fail compiling with Webpack (production env) #254

d8vjork opened this issue Aug 31, 2017 · 4 comments

Comments

@d8vjork
Copy link

d8vjork commented Aug 31, 2017

image

return new RegExp(`<a[^>]*>(${regex.source})<\\/a>`, "gi")

@d8vjork d8vjork changed the title Fail with trying compiling with Webpack (production env) Fail compiling with Webpack (production env) Aug 31, 2017
@ritz078
Copy link
Owner

ritz078 commented Aug 31, 2017

UglifyJS has problems with understanding ES6 code. Try https://github.com/webpack-contrib/babel-minify-webpack-plugin instead of uglifyJS

@d8vjork
Copy link
Author

d8vjork commented Aug 31, 2017

Ok, I'll try next build, thank you so much @ritz078

@ritz078
Copy link
Owner

ritz078 commented Sep 1, 2017

Is there still an issue ?

@d8vjork
Copy link
Author

d8vjork commented Sep 1, 2017

Nop, solved! 👍

@ritz078 ritz078 closed this as completed Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants