dowjones / gulp-bundle-assets

Create static asset (js, css) bundles from a config file: a common interface to combining, minifying, revisioning and more
MIT License
133 stars 36 forks source link

Enable/disable maps based on environment #100

Open caitlineatman opened 7 years ago

caitlineatman commented 7 years ago

I'd like the source maps to be disabled based on environment. However, when I do this: var devLikeEnvs = ['development'];

And then in my bundle options: maps: devLikeEnvs

It doesn't work. I looked closer at the code and it appears that you can't set it by environment like you can other bundle options.

chmontgomery commented 6 years ago

This is true. I take PRs!