diff options
author | jerasmus <jerasmus@gitlab.com> | 2020-01-31 09:38:06 +0300 |
---|---|---|
committer | jerasmus <jerasmus@gitlab.com> | 2020-01-31 10:36:40 +0300 |
commit | 304709138d7c733262ebfd2fbd688754683712da (patch) | |
tree | 1af0c7e016a6b55f18ba56efc972592336c38f24 /rollup.config.js | |
parent | 43d9da52c205f1641434e4ef61de87eb558b0086 (diff) |
Add and configure prettier
Added and configured prettier in the codebase
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/rollup.config.js b/rollup.config.js index aa03d89e..ed5ee25f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,9 +8,7 @@ function mapDirectory(file) { return file.replace('content/', 'public/'); } -module.exports = glob.sync( - 'content/frontend/bundles/*.js', -).map(file => ({ +module.exports = glob.sync('content/frontend/bundles/*.js').map(file => ({ input: file, output: { file: mapDirectory(file), @@ -23,8 +21,8 @@ module.exports = glob.sync( vue(), importResolver({ alias: { - 'vue': './node_modules/vue/dist/vue.esm.browser.min.js' - } + vue: './node_modules/vue/dist/vue.esm.browser.min.js', + }, }), ], })); |