We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95a76ad commit 5af0586Copy full SHA for 5af0586
packages/netlify-cms/webpack.config.js
@@ -10,7 +10,7 @@ const baseConfig = {
10
context: path.join(__dirname, 'src'),
11
entry: './index.js',
12
plugins: [
13
- ...coreWebpackConfig.plugins.filter(plugin => !plugin instanceof webpack.DefinePlugin),
+ ...coreWebpackConfig.plugins.filter(plugin => !(plugin instanceof webpack.DefinePlugin)),
14
new webpack.DefinePlugin({
15
NETLIFY_CMS_VERSION: JSON.stringify(`${pkg.version}${isProduction ? '' : '-dev'}`),
16
NETLIFY_CMS_CORE_VERSION: null,
0 commit comments