Skip to content

Commit d45fe80

Browse files
author
Matt Lewis
committed
chore: fix demo
1 parent 8018da7 commit d45fe80

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

karma.conf.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ export default config => {
7878
}
7979
}),
8080
new FixDefaultImportPlugin()
81-
],
82-
performance: {
83-
hints: false
84-
}
81+
]
8582
},
8683

8784
coverageIstanbulReporter: {

webpack.config.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default {
5858
plugins: [
5959
new CheckerPlugin(),
6060
new TsConfigPathsPlugin(),
61-
new webpack.HotModuleReplacementPlugin(),
61+
...(IS_PROD ? [] : [new webpack.HotModuleReplacementPlugin()]),
6262
new webpack.DefinePlugin({
6363
ENV: JSON.stringify(IS_PROD ? 'production' : 'development')
6464
}),
@@ -71,8 +71,5 @@ export default {
7171
__dirname + '/src'
7272
),
7373
new FixDefaultImportPlugin()
74-
],
75-
performance: {
76-
hints: false
77-
}
74+
]
7875
};

0 commit comments

Comments
 (0)