This commit is contained in:
Eugene Pankov
2017-04-17 14:57:22 +02:00
parent 36c2aef860
commit 919aa7c65f
21 changed files with 108 additions and 78 deletions

View File

@@ -17,7 +17,7 @@
},
"devDependencies": {
"@types/node": "7.0.12",
"@types/webpack-env": "1.13.0",
"@types/webpack-env": "^1.13.0",
"awesome-typescript-loader": "3.1.2",
"raw-loader": "0.5.1",
"webpack": "2.3.3"

View File

@@ -23,7 +23,5 @@
]
},
"compileOnSave": false,
"exclude": [
"node_modules"
]
"include": ["src"]
}

View File

@@ -23,13 +23,14 @@ module.exports = {
loader: 'awesome-typescript-loader',
options: {
configFileName: path.resolve(__dirname, 'tsconfig.json'),
typeRoots: [path.resolve(__dirname, 'node_modules/@types')],
paths: {
"terminus-*": [path.resolve(__dirname, '../terminus-*')],
"*": [path.resolve(__dirname, '../app/node_modules/*')],
}
}
},
{ test: /\/schemes\//, loader: "raw-loader" },
{ test: /[\\\/]schemes[\\\/]/, loader: "raw-loader" },
]
},
externals: [