Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 544 Bytes

sourcemaps.md

File metadata and controls

22 lines (18 loc) · 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
        }
    },