Skip to content

Commit

Permalink
Merge pull request #267 from BigRoomStudios/maintenance/apr-2021
Browse files Browse the repository at this point in the history
Bump safe deps
  • Loading branch information
zemccartney authored May 5, 2021
2 parents ea3d9f9 + 4846fff commit fe5be58
Show file tree
Hide file tree
Showing 3 changed files with 1,184 additions and 954 deletions.
14 changes: 4 additions & 10 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ErrorOverlayPlugin = require('error-overlay-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ESLintWebpackPlugin = require('eslint-webpack-plugin');
const Config = require('.');

const publicPath = Config.isProduction ? Config.publicPath.replace(/\/*$/, '/') : '/';
Expand Down Expand Up @@ -61,20 +62,13 @@ module.exports = {
new HtmlWebpackPlugin({
template: Config.paths.src('index.html'),
favicon: Config.paths.src('public', 'favicon.ico')
}),
new ESLintWebpackPlugin({
formatter: require.resolve('react-dev-utils/eslintFormatter')
})
],
module: {
rules: [
{
enforce: 'pre',
test: /\.(js|mjs|jsx|ts|tsx)$/,
exclude: /node_modules/,
loader: 'eslint-loader',
options: {
cache: true,
formatter: require.resolve('react-dev-utils/eslintFormatter')
}
},
{
oneOf: [
{
Expand Down
Loading

0 comments on commit fe5be58

Please sign in to comment.