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:
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rollup.config.js b/rollup.config.js
index ef77c955..aa03d89e 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -4,6 +4,10 @@ const vue = require('rollup-plugin-vue');
const babel = require('rollup-plugin-babel');
const glob = require('glob');
+function mapDirectory(file) {
+ return file.replace('content/', 'public/');
+}
+
module.exports = glob.sync(
'content/frontend/bundles/*.js',
).map(file => ({
@@ -24,7 +28,3 @@ module.exports = glob.sync(
}),
],
}));
-
-function mapDirectory(file) {
- return file.replace('content/', 'public/');
-}