Dependency Updates
Migration notes. These are only applicable if you are using custom configurations for the following files.
Lint
Updates to config/lint.js:
- Update
eslint
by wrapping existing config inoverrideConfig
.
eslint: {
...
}
Becomes
eslint: {
overrideConfig: {
...
}
}
- Update
stylelint
by adding `custom-syntax: 'postcss-scss'.
stylelint: {
customSyntax: 'postcss-scss',
...
}
Rollup
Add 'preventAssignment': true,
to the replace()
plugin configuration.
replace({
'preventAssignment': true,
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
}),
...