Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2021-03-05 07:05:22 +0300
committerEvan Read <eread@gitlab.com>2021-03-05 07:05:22 +0300
commit90e9e67bb545a0b1d0a73884f6b8bd9140881e49 (patch)
tree00e7f6bf6495b68b8951e1bc779e6a33dfe6bdf0
parent9c1e8a54c40b6cff85141e58e9398d1e8a7da093 (diff)
Reconfigure rollup to prevent build warnings
-rw-r--r--rollup.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rollup.config.js b/rollup.config.js
index 166e8ee5..7f4fd01a 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -36,6 +36,7 @@ module.exports = glob.sync('content/frontend/**/*.js').map((file) => ({
},
}),
replace({
+ preventAssignment: true,
'process.env.NODE_ENV': JSON.stringify('production'),
}),
],