mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 13:00:01 -04:00
add eslint-webpack-plugin
This commit is contained in:
parent
782aa2672e
commit
bd4a3a6258
3 changed files with 184 additions and 0 deletions
|
@ -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: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue