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:
authorDavid O'Regan <doregan@gitlab.com>2021-03-05 15:34:52 +0300
committerDavid O'Regan <doregan@gitlab.com>2021-03-05 15:34:52 +0300
commit28f655738bc40757074fe70ed4729a79820f54f6 (patch)
tree71b6c12f5ec9c75edba6dbfdc833559d92d129b1
parent4a53b864e4a2df1bff7b7dd26a41ba2f02e79dfd (diff)
parent90e9e67bb545a0b1d0a73884f6b8bd9140881e49 (diff)
Merge branch 'eread/set-preventassignment-true' into 'master'
Reconfigure rollup to prevent build warnings See merge request gitlab-org/gitlab-docs!1578
-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'),
}),
],