Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concatenation-and-minification.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mix.minify(['this/one.js', 'and/this/one.js']);
There are a few things worth noting here:

1. This method will create a companion `*.min.ext` file. So minifying `app.js` will generate `app.min.js`.
2. Once again, the minification will only take place during a production build. \(`export NODE_ENV=production`\).
2. Once again, the minification will only take place during a production build. \(`export NODE_ENV=production`\). You can specify different environments for the [NPM Scripts](https://laravel-mix.com/docs/4.1/installation#npm-scripts).
3. There is no need to call `mix.combine(['one.js', 'two.js'], 'merged.js').minify('merged.js');`Just stick with the single `mix.combine()` call. It'll take care of both.

> {note} Please note that minification is only available for CSS and JavaScript files. The minifier will not understand any other provided file type.