Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
feat(build): update webpack test config to use tsconfig-test to use t…
Browse files Browse the repository at this point in the history
…he correct folder
  • Loading branch information
joshuawilson committed Aug 27, 2018
1 parent ec30a39 commit 5840ac8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 6 additions & 1 deletion config/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,12 @@ module.exports = function () {
{
test: /\.ts$/,
use: [
'ts-loader',
{
loader: 'ts-loader',
options: {
configFile: 'tsconfig-test.json'
}
},
'angular2-template-loader'
],
exclude: [/\.e2e\.ts$/]
Expand Down
5 changes: 2 additions & 3 deletions tsconfig-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,20 @@
"noEmitHelpers": false, // Planner and demo won't run when true
"noImplicitAny": true,
"outDir": "dist",
"noEmit": true,
"paths": {
"@angular/core": ["node_modules/@angular/core"],
"@angular/http": ["node_modules/@angular/http"],
"@angular/router": ["node_modules/@angular/router"],
"rxjs/*": ["node_modules/rxjs/*"]
},
"rootDir": "build/src/app",
"rootDir": ".",
"skipLibCheck": true,
"sourceMap": true,
"strictNullChecks": false,
"stripInternal": true,
"target": "es5"
},
"files": [
"build/src/app/index.ts"
"src/app/index.ts"
]
}

0 comments on commit 5840ac8

Please sign in to comment.