Lint files

This commit is contained in:
Boris Kubiak 2018-01-27 13:38:00 +01:00
parent c557ec5611
commit aec85c7c68

View file

@ -1,6 +1,6 @@
const path = require('path'); const path = require('path');
const webpack = require('webpack'); const webpack = require('webpack');
const ExtractTextPlugin = require("extract-text-webpack-plugin"); const ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = { module.exports = {
entry: { entry: {
@ -17,7 +17,7 @@ module.exports = {
test: /\.vue$/, test: /\.vue$/,
loader: 'vue-loader', loader: 'vue-loader',
options: { options: {
extractCSS: true, extractCSS: true
} }
}, },
{ {
@ -37,12 +37,12 @@ module.exports = {
{ {
test: /\.(png|woff2)/, test: /\.(png|woff2)/,
exclude: /node_modules/, exclude: /node_modules/,
loader: 'url-loader', loader: 'url-loader'
} }
] ]
}, },
plugins: [ plugins: [
new ExtractTextPlugin("style.css") new ExtractTextPlugin('style.css')
], ],
resolve: { resolve: {
alias: { alias: {
@ -57,7 +57,7 @@ module.exports = {
}, },
performance: { performance: {
hints: false hints: false
}, }
}; };
if (process.env.NODE_ENV === 'production') { if (process.env.NODE_ENV === 'production') {