diff --git a/webpack.config.js b/webpack.config.js index f82992d..ac8cf8b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,7 @@ var path = require('path') var webpack = require('webpack') +const VueLoaderPlugin = require('vue-loader/lib/plugin') module.exports = { entry: './src/index.ts', @@ -42,6 +43,9 @@ module.exports = { } ] }, + plugins: [ + new VueLoaderPlugin() + ], resolve: { extensions: ['.ts', '.js', '.vue', '.json'], alias: { @@ -77,4 +81,4 @@ if (process.env.NODE_ENV === 'production') { minimize: true }) ]) -} \ No newline at end of file +}