Convert from Webpack to Vite (#34450)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
parent
a5a2c6dc7e
commit
c4f47adb49
100 changed files with 2031 additions and 7424 deletions
|
@ -248,7 +248,6 @@ export default tseslint.config([
|
|||
{
|
||||
devDependencies: [
|
||||
'eslint.config.mjs',
|
||||
'config/webpack/**',
|
||||
'app/javascript/mastodon/performance.js',
|
||||
'app/javascript/mastodon/test_setup.js',
|
||||
'app/javascript/mastodon/test_helpers.tsx',
|
||||
|
@ -256,7 +255,12 @@ export default tseslint.config([
|
|||
],
|
||||
},
|
||||
],
|
||||
'import/no-webpack-loader-syntax': 'error',
|
||||
'import/no-unresolved': [
|
||||
'error',
|
||||
{
|
||||
ignore: ['vite/modulepreload-polyfill'],
|
||||
},
|
||||
],
|
||||
|
||||
'react/jsx-filename-extension': [
|
||||
'error',
|
||||
|
@ -292,7 +296,6 @@ export default tseslint.config([
|
|||
'**/*.config.js',
|
||||
'**/.*rc.js',
|
||||
'**/ide-helper.js',
|
||||
'config/webpack/**/*',
|
||||
'config/formatjs-formatter.js',
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue