Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
23 lines (18 sloc) 0.544 kb

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
        }
    },
Jump to Line
Something went wrong with that request. Please try again.