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

Commit

Permalink
build: Use ts-loader in webpack config (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
trimox authored Oct 29, 2017
1 parent 7dcb7ab commit 8dd1470
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 844 deletions.
4 changes: 2 additions & 2 deletions config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ module.exports = [{
presets: ['env']
},
}, {
loader: 'awesome-typescript-loader',
loader: 'ts-loader',
options: {
configFileName: './src/demo-app/tsconfig.json'
configFile: 'src/demo-app/tsconfig.json'
}
}, {
loader: 'angular2-template-loader'
Expand Down
2 changes: 1 addition & 1 deletion config/webpack/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
rules: [
{
test: /\.ts$/,
loaders: ['awesome-typescript-loader?configFileName=./test/unit/tsconfig.json']
loaders: ['ts-loader?configFile=test/unit/tsconfig.json']
},
{
enforce: 'post',
Expand Down
Loading

0 comments on commit 8dd1470

Please sign in to comment.