summaryrefslogtreecommitdiffstats
path: root/js/webpack.config.js
blob: 498ed88b039be24b78a43f853dbd32d70c0a1fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()
  ]
}