Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Unable to build with webpack in prod mode #26

Open
tollr opened this issue Dec 15, 2017 · 0 comments
Open

Unable to build with webpack in prod mode #26

tollr opened this issue Dec 15, 2017 · 0 comments

Comments

@tollr
Copy link

tollr commented Dec 15, 2017

Hello,

I'm currently having trouble with this plugin, which is great btw, now that we are a trying to move to awebpack builder with Symfony Encore.

The problem is, I can't seem to build in prod while there is no problem in dev or with the webpack dev server.

[EDIT] I'm really sorry, I was sure it wasn't working, but it seems to now work fine ? I still get the error though. Really not sure about what is going on here.

The error code is the following :
capture d ecran de 2017-12-15 11-30-05

I've been doing research about this error. Uglify.js don't work with ES6 syntax, so it might be the problem.

The initialization of the plugin is done this way :
capture d ecran de 2017-12-15 11-31-04

My package.json :
capture d ecran de 2017-12-15 11-32-02

Do tell me if you need more informations.

Thanks for your work, we've been using this plugin from the CDN for a while it's always been working great.

Many thanks.

@tollr tollr changed the title Unbable to build with webpack in prod mode Unable to build with webpack in prod mode Dec 15, 2017
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

1 participant