fix: fix source maps

This commit is contained in:
vsavkin 2016-05-23 16:28:11 -07:00
parent f259a2204b
commit 1be9ea681b
5 changed files with 13 additions and 8 deletions

View File

@ -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,

View File

@ -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",

View File

@ -7,8 +7,8 @@
"noImplicitAny": false,
"outDir": "dist",
"rootDir": ".",
"sourceMap": true,
"sourceRoot": "./",
"inlineSourceMap": true,
"inlineSources": true,
"declaration": true,
"removeComments": true
},

View File

@ -7,9 +7,9 @@
"target": "es5",
"noImplicitAny": false,
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
"sourceRoot": "./",
"rootDir": ".",
"inlineSourceMap": true,
"inlineSources": true,
"declaration": true,
"removeComments": true
},

View File

@ -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"