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
mix.minify() doesn't minify! #1295
Comments
First, you don't need to do that check for production mode. Minification will only take place during production builds ( |
I do have the same issue when using the stand alone version also using |
@andy-hammond I tried this out myself, and can't reproduce. So without more information, I'm going to close this. |
same here it does create the min version but it dosn't actually minify the file |
I solved the issue by reinstalling the dependencies (deleting this |
Confirmed fix with a clean |
yeah does not minify for me as well, actually it makes it bigger regarding to console output: Here is the output: |
minification isn't working even after deleting node_modules and npm install. |
Me too, the following code creates both
If it can help, it happens on Windows 10 (Laragon as development environment) |
Once again, the minification will only take place during a production build. (export NODE_ENV=production). |
Adding to what @rohitbhirud and others have said, my problem was with the
|
Thanks, @MFFoX. I was missing the |
npm list --depth=0
)node -v
): 6.11.2npm -v
): 3.10.10I just get an index.min.js file that is slightly larger than the 'unminified' one.
The text was updated successfully, but these errors were encountered: