Skip to content

Commit 5af0586

Browse files
committed
fix: fix netlify-cms webpack plugins
1 parent 95a76ad commit 5af0586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/netlify-cms/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const baseConfig = {
1010
context: path.join(__dirname, 'src'),
1111
entry: './index.js',
1212
plugins: [
13-
...coreWebpackConfig.plugins.filter(plugin => !plugin instanceof webpack.DefinePlugin),
13+
...coreWebpackConfig.plugins.filter(plugin => !(plugin instanceof webpack.DefinePlugin)),
1414
new webpack.DefinePlugin({
1515
NETLIFY_CMS_VERSION: JSON.stringify(`${pkg.version}${isProduction ? '' : '-dev'}`),
1616
NETLIFY_CMS_CORE_VERSION: null,

0 commit comments

Comments
 (0)