diff options
author | David O'Regan <doregan@gitlab.com> | 2020-07-15 05:15:31 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-07-15 05:15:31 +0300 |
commit | bdb5526074d9a67c280accf9c7c1429864b89827 (patch) | |
tree | 3ade4c0c3fc6e3019649c2ed8aa13f43daebe7f2 /rollup.config.js | |
parent | 2e3648751f5c74c83f3078776bb1fff3a5aee5ef (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.js | 4 |
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(), |