flowplayer / flowplayer-mpegdash

MIT License
8 stars 13 forks source link

Unable to build with webpack in prod mode #26

Open tollr opened 6 years ago

tollr commented 6 years ago

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.