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

Add option to disable generation of sourcemaps #44

Closed 21brains-zh closed 9 years ago

21brains-zh commented 9 years ago

I added the option to disable sourcemaps.

Example bundle.config.js:

module.exports = {
  bundle: {
    main: {
      styles: ['./public/less/styles.less','./public/less/bootstrap.less','./public/less/font-awesome/font-awesome.less'],
      options: {
        transforms: {
          styles: less // pipe(s) of style transforms
        },
        maps: false
      }
    }
  }
};
chmontgomery commented 9 years ago

released in v2.18.0