Last active
March 5, 2019 07:47
-
-
Save seangwright/7c94c680c3712b914378a3ce08f38a22 to your computer and use it in GitHub Desktop.
ken120-mvc-vuejs-webpack.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const VueLoaderPlugin = require('vue-loader/lib/plugin'); | |
module.exports = { | |
entry: path.resolve(__dirname, 'Scripts', 'inline-editors-bundle.js'), | |
output: { | |
path: path.resolve(__dirname, 'Content', 'InlineEditors'), | |
filename: "inline-editors-bundle.dist.js" | |
}, | |
externals: [{ | |
vue: 'Vue' | |
}], | |
module: { | |
rules: [{ | |
test: /\.vue$/, | |
loader: "vue-loader", | |
}, { | |
test: /\.scss$/, | |
use: [ | |
'vue-style-loader', | |
'css-loader', | |
'sass-loader' | |
] | |
}] | |
}, | |
plugins: [ | |
new VueLoaderPlugin() | |
], | |
performance: { | |
hints: 'error' | |
}, | |
stats: 'minimal', | |
mode: 'development' | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment