fix: log accurate version by distribution (#1531)
This commit is contained in:
@ -25,9 +25,6 @@ const rules = () => ({
|
||||
|
||||
const plugins = () => {
|
||||
return {
|
||||
define: () => new webpack.DefinePlugin({
|
||||
NETLIFY_CMS_VERSION: JSON.stringify(`${pkg.version}${isProduction ? '' : '-dev'}`),
|
||||
}),
|
||||
ignoreEsprima: () => new webpack.IgnorePlugin(/^esprima$/, /js-yaml/),
|
||||
ignoreMomentOptionalDeps: () => new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
||||
friendlyErrors: () => new FriendlyErrorsWebpackPlugin(),
|
||||
|
Reference in New Issue
Block a user