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>2021-01-28 20:09:40 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2021-01-28 20:09:40 +0300
commitf62e566932f50947ec53515a71421eff24a6dacd (patch)
treeaa648e210ba75ef2bb431f8343a7b325801e9c63 /rollup.config.js
parenta0af59dc3925909e735a240f1b9f2be16d03fb22 (diff)
Fix(Mobile): Mobile navbar refractor
Update our breadcrumbs and mobile sidebar to use consistent navigation with main project
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js
index 11837482..fe8ddc5b 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -7,6 +7,7 @@ const vue = require('rollup-plugin-vue');
const babel = require('rollup-plugin-babel');
const json = require('@rollup/plugin-json');
const glob = require('glob');
+const svg = require('rollup-plugin-svg');
function mapDirectory(file) {
return file.replace('content/', 'public/');
@@ -22,12 +23,13 @@ module.exports = glob.sync('content/frontend/**/*.js').map((file) => ({
plugins: [
nodeResolve({ browser: true, preferBuiltins: true }),
commonjs(),
+ vue(),
+ svg(),
nodePolyfills(),
babel({
exclude: 'node_modules/**',
}),
json(),
- vue(),
importResolver({
alias: {
vue: './node_modules/vue/dist/vue.esm.browser.min.js',