diff options
author | Evan Read <eread@gitlab.com> | 2021-03-05 07:05:22 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-03-05 07:05:22 +0300 |
commit | 90e9e67bb545a0b1d0a73884f6b8bd9140881e49 (patch) | |
tree | 00e7f6bf6495b68b8951e1bc779e6a33dfe6bdf0 | |
parent | 9c1e8a54c40b6cff85141e58e9398d1e8a7da093 (diff) |
Reconfigure rollup to prevent build warnings
-rw-r--r-- | rollup.config.js | 1 |
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'), }), ], |