ui: upgrade to webpack5

This commit is contained in:
undefined committed 2022-08-07 03:15:36 +08:00
1 parent 8648929063
commit a05125c6b0
134 files changed
+503 -457

No files matched your search

+12 -1
View File
@@ -3,7 +3,7 @@ const path = require('path');
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react'],
plugins: ['@typescript-eslint', 'react', 'simple-import-sort'],
env: {
browser: true,
es6: true,
@@ -138,5 +138,16 @@ module.exports = {
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'simple-import-sort/imports': [
'warn',
{
groups: [
['^\\u0000'],
['^(?!vj)(@?\\w.+)', '^vj\\/', '^', '^\\.'],
],
},
],
'simple-import-sort/exports': 'off',
},
};