mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03: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:
@@ -12,7 +12,8 @@ module.exports = {
|
||||
},
|
||||
plugins: [
|
||||
replace({
|
||||
'process.env.NODE_ENV': '"production"'
|
||||
'process.env.NODE_ENV': '"production"',
|
||||
preventAssignment: true
|
||||
}),
|
||||
nodeResolve(),
|
||||
babel({
|
||||
|
||||
@@ -77,7 +77,8 @@ const conf = {
|
||||
rollupPreprocessor: {
|
||||
plugins: [
|
||||
replace({
|
||||
'process.env.NODE_ENV': '"dev"'
|
||||
'process.env.NODE_ENV': '"dev"',
|
||||
preventAssignment: true
|
||||
}),
|
||||
istanbul({
|
||||
exclude: [
|
||||
|
||||
Reference in New Issue
Block a user