Skip to content

Commit 9c00c4c

Browse files
chore(build): Do not generate d.ts files from webpack
1 parent 71b3393 commit 9c00c4c

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

packages/core/webpack.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,11 @@ module.exports = {
4040
loaders: [
4141
{ test: /\.ts$/, loader: "ts-loader" }
4242
]
43+
},
44+
45+
ts: {
46+
compilerOptions: {
47+
declaration: false
48+
}
4349
}
4450
};

packages/ng1-bower/webpack.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,11 @@ module.exports = {
4242
loaders: [
4343
{ test: /\.ts$/, loader: "ts-loader" }
4444
]
45+
},
46+
47+
ts: {
48+
compilerOptions: {
49+
declaration: false
50+
}
4551
}
4652
};

packages/ng1/webpack.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,11 @@ module.exports = {
4242
loaders: [
4343
{ test: /\.ts$/, loader: "ts-loader" }
4444
]
45+
},
46+
47+
ts: {
48+
compilerOptions: {
49+
declaration: false
50+
}
4551
}
4652
};

packages/ng2/webpack.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ module.exports = {
4141
{ test: /\.ts$/, loader: "ts-loader" }
4242
]
4343
},
44+
45+
ts: {
46+
compilerOptions: {
47+
declaration: false
48+
}
49+
},
4450

4551
externals: {
4652
"@angular/core": { root: '@angular/core', amd: '@angular/core', commonjs2: '@angular/core', commonjs: '@angular/core' },

0 commit comments

Comments
 (0)