badguardhome/client/webpack.dev.js

20 lines
481 B
JavaScript
Raw Normal View History

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