const VueLoaderPlugin = require('vue-loader/lib/plugin') module.exports = { mode: 'development', entry: { 'sequence_labeling': './static/js/sequence_labeling.js', 'document_classification': './static/js/document_classification.js', 'seq2seq': './static/js/seq2seq.js', 'projects': './static/js/projects.js', 'stats': './static/js/stats.js' }, output: { path: __dirname + '/static/bundle', filename: '[name].js' }, module: { rules: [ { test: /\.vue$/, loader: 'vue-loader' } ] }, plugins: [ new VueLoaderPlugin() ], resolve: { extensions: ['.js', '.vue'], alias: { vue$: 'vue/dist/vue.esm.js', }, }, }