1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 21:53:25 +02:00

@rollup/plugin-replace: specify preventAssignment: true (#33329)

This is to fix a warning since the option will be set to true in the next major version of the plugin
This commit is contained in:
XhmikosR
2021-03-10 18:47:42 +02:00
committed by GitHub
parent 26c999152b
commit 2732a60ecd
3 changed files with 11 additions and 3 deletions

View File

@@ -12,7 +12,8 @@ module.exports = {
},
plugins: [
replace({
'process.env.NODE_ENV': '"production"'
'process.env.NODE_ENV': '"production"',
preventAssignment: true
}),
nodeResolve(),
babel({