Skip to content

Commit 47fd5df

Browse files
pi0jaredpalmer
authored andcommitted
Use NoEmitOnErrorsPlugin instead of NoErrorsPlugin (#68)
1 parent 4712180 commit 47fd5df

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/backpack-core/config/webpack.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,9 @@ module.exports = (options) => {
127127
// The FriendlyErrorsWebpackPlugin (when combined with source-maps)
128128
// gives Backpack its human-readable error messages.
129129
new FriendlyErrorsWebpackPlugin(),
130-
// This plugin is awkwardly named. Use to be called NoErrorsPlugin.
131-
// It does not actually swallow errors. Instead, it just prevents
132-
// Webpack from printing out compile time stats to the console.
133-
// @todo new webpack.NoEmitOnErrorsPlugin()
134-
new webpack.NoErrorsPlugin()
130+
// The NoEmitOnErrorsPlugin plugin prevents Webpack
131+
// from printing out compile time stats to the console.
132+
new webpack.NoEmitOnErrorsPlugin()
135133
]
136134
}
137135
}

0 commit comments

Comments
 (0)