Files
danbooru/config/webpack/development.js
evazion 0563ca3001 docs: document config/ and some directories in app/.
* Add README files to several directories in app/ giving a brief
  overview of some parts of Danbooru's architecture.
* Add documentation for files in config/.
2021-06-27 05:21:38 -05:00

18 lines
426 B
JavaScript

// @see https://github.com/webpack-contrib/eslint-webpack-plugin
process.env.NODE_ENV = process.env.NODE_ENV || 'development'
const { merge } = require('@rails/webpacker')
const webpackConfig = require('./base');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = merge(webpackConfig, {
plugins: [
new ESLintPlugin({
cache: true,
threads: true,
emitWarning: true
})
]
});