Skip to content

Commit

Permalink
chore(build): Do not generate d.ts files from webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed May 13, 2016
1 parent 71b3393 commit 9c00c4c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ module.exports = {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" }
]
},

ts: {
compilerOptions: {
declaration: false
}
}
};
6 changes: 6 additions & 0 deletions packages/ng1-bower/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,11 @@ module.exports = {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" }
]
},

ts: {
compilerOptions: {
declaration: false
}
}
};
6 changes: 6 additions & 0 deletions packages/ng1/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,11 @@ module.exports = {
loaders: [
{ test: /\.ts$/, loader: "ts-loader" }
]
},

ts: {
compilerOptions: {
declaration: false
}
}
};
6 changes: 6 additions & 0 deletions packages/ng2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ module.exports = {
{ test: /\.ts$/, loader: "ts-loader" }
]
},

ts: {
compilerOptions: {
declaration: false
}
},

externals: {
"@angular/core": { root: '@angular/core', amd: '@angular/core', commonjs2: '@angular/core', commonjs: '@angular/core' },
Expand Down

0 comments on commit 9c00c4c

Please sign in to comment.