add eslint-webpack-plugin

This commit is contained in:
David Reed 2022-11-23 14:34:41 -05:00
parent 782aa2672e
commit bd4a3a6258
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F
3 changed files with 184 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import { fileURLToPath } from 'url';
import ESLintPlugin from 'eslint-webpack-plugin';
import TerserPlugin from 'terser-webpack-plugin';
import CopyPlugin from 'copy-webpack-plugin';
@ -33,6 +34,7 @@ const config = {
],
},
plugins: [
new ESLintPlugin(),
new CopyPlugin({
patterns: [
{