mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Convert from Webpack to Vite (#34450)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
@@ -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',
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user