brunch / terser-brunch

A javascript minifier for brunch files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need config options with angular

jasonkuhrt opened this issue · comments

It is difficult to use this with angularjs without being able to pass options. For instance with jade you allow some: https://github.com/brunch/jade-brunch/blob/master/src/index.coffee#L18

The main option need to allow uglifyjs to work with angularjs is --no-mangle.

@jasonkuhrt mind opening a pull req for this?

@paulmillr Cool, thanks. OT but I will be more helpful with my stylus-brunch modifications. I just need a bit more time to organize my commit and pr: https://github.com/jasonkuhrt/stylus-brunch/blob/configerable/src/index.ls. Huge improvement via allowing transparent stylus api access inside config: https://github.com/Takingroot/co2r/blob/master/config.ls#L30.