diff options
author | Sarah German <sgerman@gitlab.com> | 2022-05-17 01:35:55 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-05-17 01:35:55 +0300 |
commit | a9911925ac453578432b12b8344a49cf948ca0d0 (patch) | |
tree | fca760bced17bac3cff4dd2400bb78f8c7c94af1 /rollup.config.js | |
parent | e638c93782b685763c0ac519b7f430551718ac27 (diff) |
Update rollup/plugin-commonjs
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js index 29efc1b0..43c0942e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -22,7 +22,9 @@ module.exports = glob.sync('content/frontend/**/*.js').map((file) => ({ }, plugins: [ nodeResolve({ browser: true, preferBuiltins: false }), - commonjs(), + commonjs({ + requireReturnsDefault: 'preferred', + }), vue(), svg(), inject({ |