Skip to content

Commit 28eb129

Browse files
Merge pull request nestjs#1773 from shauntrennery/patch-1
Update webpack.config.js
2 parents fc6e07a + 213743c commit 28eb129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sample/08-webpack/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
resolve: {
2525
extensions: ['.tsx', '.ts', '.js'],
2626
},
27-
plugins: [new webpack.HotModuleReplacementPlugin()],
27+
plugins: [new webpack.HotModuleReplacementPlugin(), new webpack.WatchIgnorePlugin([/\.js$/, /\.d\.ts$/])],
2828
output: {
2929
path: path.join(__dirname, 'dist'),
3030
filename: 'server.js',

0 commit comments

Comments
 (0)