Convert from Webpack to Vite (#34450)

Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
Echo
2025-05-16 15:26:12 +02:00
committed by GitHub
parent a5a2c6dc7e
commit c4f47adb49
100 changed files with 2031 additions and 7424 deletions

View File

@@ -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',
],