...
|
...
|
@@ -13,7 +13,6 @@ const shelljs = require('shelljs'); |
|
|
const webpack = require('webpack');
|
|
|
const HappyPack = require('happypack');
|
|
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
|
|
const StyleLintPlugin = require('stylelint-webpack-plugin');
|
|
|
const postcssConfig = require('./postcss.config.js');
|
|
|
const entries = {
|
|
|
index: path.join(__dirname, '../scss/index.css'),
|
...
|
...
|
@@ -98,7 +97,8 @@ module.exports = (env) => { |
|
|
}]
|
|
|
},
|
|
|
resolve: {
|
|
|
modules: [path.join(__dirname, '../../node_modules'),
|
|
|
modules: [
|
|
|
path.join(__dirname, '../../node_modules'),
|
|
|
path.join(__dirname, '../vue'),
|
|
|
path.join(__dirname, '../hbs'),
|
|
|
path.join(__dirname, '../scss'),
|
...
|
...
|
@@ -112,9 +112,6 @@ module.exports = (env) => { |
|
|
children: false
|
|
|
},
|
|
|
plugins: [
|
|
|
new StyleLintPlugin({
|
|
|
files: ['public/scss/*.css', 'public/scss/**/*.css', 'public/vue/*.vue', 'public/vue/**/*.vue']
|
|
|
}),
|
|
|
new HappyPack({
|
|
|
id: 'js',
|
|
|
threadPool: happyThreadPool,
|
...
|
...
|
|