From 5af05865e5173770262023a029cb565b954a654d Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Fri, 27 Jul 2018 17:13:01 -0400 Subject: [PATCH] fix: fix netlify-cms webpack plugins --- packages/netlify-cms/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/netlify-cms/webpack.config.js b/packages/netlify-cms/webpack.config.js index fc56c5dd..6bb42d81 100644 --- a/packages/netlify-cms/webpack.config.js +++ b/packages/netlify-cms/webpack.config.js @@ -10,7 +10,7 @@ const baseConfig = { context: path.join(__dirname, 'src'), entry: './index.js', plugins: [ - ...coreWebpackConfig.plugins.filter(plugin => !plugin instanceof webpack.DefinePlugin), + ...coreWebpackConfig.plugins.filter(plugin => !(plugin instanceof webpack.DefinePlugin)), new webpack.DefinePlugin({ NETLIFY_CMS_VERSION: JSON.stringify(`${pkg.version}${isProduction ? '' : '-dev'}`), NETLIFY_CMS_CORE_VERSION: null,