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

mode is not set so webpack defaults to production #115

Open
safareli opened this issue Jul 12, 2018 · 2 comments
Open

mode is not set so webpack defaults to production #115

safareli opened this issue Jul 12, 2018 · 2 comments

Comments

@safareli
Copy link

safareli commented Jul 12, 2018

mode is not for dll so webpack it to production which results in minified dll, Instead mode should either "inherited" or set to "none" so webpack is not minifying dll in all cases automatically.

now i'm doing this:

new AutoDllPlugin({
       config: { mode:"none" },
       plugins: [...

to avoid unneeded minification.

@eliseumds
Copy link

Oh, that's very important for React projects because the minified version doesn't show full error messages. Tks!

@parzival418
Copy link

This totally saved me. Should be added to documentation!

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

3 participants