2018-08-30 15:25:33 +01:00
|
|
|
const merge = require('webpack-merge');
|
|
|
|
const common = require('./webpack.common.js');
|
|
|
|
|
|
|
|
module.exports = merge(common, {
|
2019-07-22 13:32:12 +01:00
|
|
|
devtool: 'eval-source-map',
|
2018-08-30 15:25:33 +01:00
|
|
|
module: {
|
2019-07-22 13:32:12 +01:00
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.js$/,
|
|
|
|
exclude: /node_modules/,
|
|
|
|
loader: 'eslint-loader',
|
|
|
|
options: {
|
|
|
|
emitWarning: true,
|
|
|
|
configFile: 'dev.eslintrc',
|
|
|
|
},
|
2018-08-30 15:25:33 +01:00
|
|
|
},
|
2019-07-22 13:32:12 +01:00
|
|
|
],
|
2018-08-30 15:25:33 +01:00
|
|
|
},
|
|
|
|
});
|