Permalink
274c9dd Dec 3, 2012
23 lines (18 sloc) 544 Bytes

Sourcemaps

Sourcemaps can be used like described in the requirejs docs

Note: Make sure to set the optimize property to ´uglify2´!

Example

    requirejs: {
      mysourcemapped: {
        options: {
          baseUrl: 'my/project',
          name: 'project',
          out: 'dist/main-sourcemapped.js',
          optimize: 'uglify2',
          generateSourceMaps: true,
          preserveLicenseComments: false,
          useSourceUrl: true
        }
    },