fix: fix source maps
This commit is contained in:
parent
f259a2204b
commit
1be9ea681b
@ -38,6 +38,10 @@ module.exports = function(config) {
|
||||
{pattern: 'dist/**/*.js.map', included: false, watched: false}
|
||||
],
|
||||
|
||||
preprocessors: {
|
||||
'**/*.js': ['sourcemap']
|
||||
},
|
||||
|
||||
reporters: ['mocha'],
|
||||
port: 9876,
|
||||
colors: true,
|
||||
|
@ -53,6 +53,7 @@
|
||||
"karma-jasmine": "^0.3.6",
|
||||
"karma-mocha-reporter": "^2.0.2",
|
||||
"karma-systemjs": "^0.10.0",
|
||||
"karma-sourcemap-loader": "~0.3",
|
||||
"parse5": "^1.3.2",
|
||||
"protractor": "3.0.0",
|
||||
"reflect-metadata": "0.1.2",
|
||||
|
@ -7,8 +7,8 @@
|
||||
"noImplicitAny": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "./",
|
||||
"inlineSourceMap": true,
|
||||
"inlineSources": true,
|
||||
"declaration": true,
|
||||
"removeComments": true
|
||||
},
|
||||
|
@ -7,9 +7,9 @@
|
||||
"target": "es5",
|
||||
"noImplicitAny": false,
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "./",
|
||||
"rootDir": ".",
|
||||
"inlineSourceMap": true,
|
||||
"inlineSources": true,
|
||||
"declaration": true,
|
||||
"removeComments": true
|
||||
},
|
||||
|
@ -6,9 +6,9 @@
|
||||
"target": "es6",
|
||||
"noImplicitAny": false,
|
||||
"outDir": "dist/es6",
|
||||
"rootDir": "src",
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "./",
|
||||
"rootDir": ".",
|
||||
"inlineSourceMap": true,
|
||||
"inlineSources": true,
|
||||
"declaration": true,
|
||||
"removeComments": true,
|
||||
"moduleResolution": "node"
|
||||
|
Loading…
x
Reference in New Issue
Block a user