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

creating unminified file in dev mode #31

Closed
GhostGlitch opened this issue Jan 30, 2022 · 1 comment
Closed

creating unminified file in dev mode #31

GhostGlitch opened this issue Jan 30, 2022 · 1 comment

Comments

@GhostGlitch
Copy link

I can't figure out how to get it to make an unminified file in development mode. either I set minification to anything in my config and get two minified files, or I don't set it and I only get the main file. It's possible that I'm just being dumb, but I can't figure this out.

@leftstick
Copy link
Owner

webpack should not run any of optimization while in development mode by default. check below doc

Screen Shot 2022-02-10 at 1 51 33 PM

It means, if you enable mode: 'development', the output should be unminified. It's nothing to do with unminified-webpack-plugin. You should check why you have unmiinified output first(with my plugin removed)

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