summaryrefslogtreecommitdiffstats
path: root/js/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/webpack.config.js')
-rw-r--r--js/webpack.config.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/webpack.config.js b/js/webpack.config.js
new file mode 100644
index 000000000..498ed88b0
--- /dev/null
+++ b/js/webpack.config.js
@@ -0,0 +1,21 @@
+const path = require('path');
+const { VueLoaderPlugin } = require('vue-loader');
+
+module.exports = {
+ entry: './app/VueComponents',
+ output: {
+ path: path.resolve(__dirname, '.'),
+ filename: 'webpacked_vue_components.js',
+ },
+ module: {
+ rules: [
+ {
+ test: /\.vue$/,
+ loader: 'vue-loader',
+ },
+ ]
+ },
+ plugins: [
+ new VueLoaderPlugin()
+ ]
+}