summaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-05 15:31:44 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-06 17:00:23 +0200
commit4c7154baf75d90624094436888b6296196327d35 (patch)
tree5d61da650d434a6e91e5353173bc77df6e51955c /webpack.common.js
parent9fa5441ad16e4d897c8598213f273303828477f4 (diff)
Datetime init and moment support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index a8fd52c4..f361f1d3 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -1,3 +1,4 @@
+const webpack = require('webpack')
const path = require('path')
const { VueLoaderPlugin } = require('vue-loader')
const StyleLintPlugin = require('stylelint-webpack-plugin')
@@ -42,7 +43,11 @@ module.exports = {
}
]
},
- plugins: [new VueLoaderPlugin(), new StyleLintPlugin()],
+ plugins: [
+ new VueLoaderPlugin(),
+ new StyleLintPlugin(),
+ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
+ ],
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js'