SystemJS

SystemJS是模块加载器。

使用SystemJS Build Tool生成Source Map:

  1. builder.bundle('myModule.js', 'outfile.js',
  2. {
  3. minify: true,
  4. sourceMaps: true
  5. });
  • sourceMapContents选项可以指定是否将源码写入Source Map文件