add bulma and sass compilation

on production builds, create a root style.css file
This commit is contained in:
2017-01-28 19:45:25 -07:00
parent ea5de580a8
commit 27bffc0f6c
6 changed files with 289 additions and 40 deletions

View File

@@ -9,6 +9,19 @@ const ROOT = path.resolve(__dirname, '..', '..');
module.exports = merge(baseConfig, {
entry: ['webpack-hot-middleware/client'],
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
sass: 'vue-style-loader!css-loader!sass-loader?indentedSyntax',
},
},
},
],
},
plugins: [
// http://vue-loader.vuejs.org/en/workflow/production.html
new webpack.DefinePlugin({