Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

rename minjs #26

Closed
stoufdev opened this issue Jun 30, 2015 · 7 comments
Closed

rename minjs #26

stoufdev opened this issue Jun 30, 2015 · 7 comments

Comments

@stoufdev
Copy link

Possible to rename the app.js minifyed like app.min.js ?

@es128
Copy link
Member

es128 commented Jun 30, 2015

Specify in your joinTo that you want the target file to be named app.min.js. If you want it different depending on minified vs non-minified builds, use environments and overrides.

@es128 es128 closed this as completed Jun 30, 2015
@stoufdev
Copy link
Author

ok ! Possible to force minify in dev mode ?

@es128
Copy link
Member

es128 commented Jun 30, 2015

Yes, just add optimize: true in config

@stoufdev
Copy link
Author

yes, that was my idea, but not work..where to write it

@es128
Copy link
Member

es128 commented Jun 30, 2015

@stoufdev
Copy link
Author

ok, but it's for global, not just uglify-js-brunch. Thanks

@es128
Copy link
Member

es128 commented Jun 30, 2015

To turn on just uglify regardless of optimize setting or production flag you could instead use plugins: on: ['uglify-js-brunch']

https://github.com/brunch/brunch/blob/master/docs/config.md#plugins

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants