all: sync with master
This commit is contained in:
29
client/webpack.prod.js
vendored
29
client/webpack.prod.js
vendored
@@ -1,28 +1,9 @@
|
||||
const StyleLintPlugin = require('stylelint-webpack-plugin');
|
||||
const merge = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
import { merge } from 'webpack-merge';
|
||||
import common from './webpack.common.js';
|
||||
|
||||
module.exports = merge(common, {
|
||||
export default merge(common, {
|
||||
stats: 'minimal',
|
||||
performance : {
|
||||
hints : false
|
||||
performance: {
|
||||
hints: false,
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'eslint-loader',
|
||||
options: {
|
||||
failOnError: true,
|
||||
configFile: 'prod.eslintrc',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
new StyleLintPlugin({
|
||||
files: '**/*.css',
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user