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>2020-07-15 05:15:31 +0300
committerEvan Read <eread@gitlab.com>2020-07-15 05:15:31 +0300
commitbdb5526074d9a67c280accf9c7c1429864b89827 (patch)
tree3ade4c0c3fc6e3019649c2ed8aa13f43daebe7f2 /rollup.config.js
parent2e3648751f5c74c83f3078776bb1fff3a5aee5ef (diff)
Rollup gitlab-ui
The first attenpt to use rollup to import the gitlab-ui project.
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rollup.config.js b/rollup.config.js
index a53496c1..127d7207 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,3 +1,5 @@
+const { nodeResolve } = require('@rollup/plugin-node-resolve');
+const nodePolyfills = require('rollup-plugin-node-polyfills');
const importResolver = require('rollup-plugin-import-resolver');
const commonjs = require('rollup-plugin-commonjs');
const vue = require('rollup-plugin-vue');
@@ -17,6 +19,8 @@ module.exports = glob.sync('content/frontend/**/*.js').map(file => ({
name: file,
},
plugins: [
+ nodeResolve(),
+ nodePolyfills(),
commonjs(),
babel(),
json(),