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:
authorSarah German <sgerman@gitlab.com>2022-05-13 21:32:13 +0300
committerSarah German <sgerman@gitlab.com>2022-05-13 21:33:54 +0300
commitdb63c4e528deb605d981796ab44a128495f31805 (patch)
tree4801ce2c6787aefbc39ccf4c3ffac3c161914835
parent9ab7e82e0c41f701a88a5946c65eb4417e61db4b (diff)
Set requireReturnsDefault property in commonjs configupdate-rollup-commonjs
-rw-r--r--rollup.config.js4
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({