Skip to content

Commit

Permalink
feat: create plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Sep 30, 2018
1 parent 3c1b32c commit f1636a4
Show file tree
Hide file tree
Showing 5 changed files with 3,215 additions and 41 deletions.
4 changes: 3 additions & 1 deletion dev/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var path = require('path')
var webpack = require('webpack')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin

const isProd = process.env.NODE_ENV === 'production'
Expand All @@ -18,7 +19,7 @@ module.exports = {
rules: [
{
test: /\.vue$/,
use: ['vuetify-loader', 'vue-loader'],
loader: 'vue-loader',
},
{
test: /\.js$/,
Expand All @@ -39,6 +40,7 @@ module.exports = {
},
plugins: [
new VueLoaderPlugin(),
new VuetifyLoaderPlugin(),
new BundleAnalyzerPlugin({
analyzerMode: 'static',
openAnalyzer: false
Expand Down
Loading

0 comments on commit f1636a4

Please sign in to comment.