Skip to content

Commit 89d28cd

Browse files
committed
chore(webpack): fix webpack config
1 parent c16bd08 commit 89d28cd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

templates/app/webpack.make.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ module.exports = function makeWebpackConfig(options) {
3333
* Should be an empty object if it's generating a test build
3434
* Karma will set this when it's a test build
3535
*/
36-
if(TEST) {
37-
config.entry = {};
38-
} else {
36+
if(!TEST) {
3937
config.entry = {
4038
app: './client/app/app.<%= scriptExt %>',
4139
polyfills: './client/app/polyfills.<%= scriptExt %>',
@@ -352,7 +350,6 @@ module.exports = function makeWebpackConfig(options) {
352350
colors: true,
353351
reasons: true
354352
};
355-
config.debug = false;
356353
}
357354

358355
config.node = {

0 commit comments

Comments
 (0)