Merge pull request #10594 from tchak/fix-disable-aria-components-locales-optimization
fix(react): disable aria components locales optimization
This commit is contained in:
commit
08a7c59ecb
1 changed files with 8 additions and 8 deletions
|
@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
|
|||
import ViteReact from '@vitejs/plugin-react';
|
||||
import RubyPlugin from 'vite-plugin-ruby';
|
||||
import FullReload from 'vite-plugin-full-reload';
|
||||
import optimizeLocales from '@react-aria/optimize-locales-plugin';
|
||||
//import optimizeLocales from '@react-aria/optimize-locales-plugin';
|
||||
|
||||
const plugins = [
|
||||
RubyPlugin(),
|
||||
|
@ -10,13 +10,13 @@ const plugins = [
|
|||
FullReload(
|
||||
['config/routes.rb', 'app/views/**/*', 'app/components/**/*.haml'],
|
||||
{ delay: 200 }
|
||||
),
|
||||
{
|
||||
...optimizeLocales.vite({
|
||||
locales: ['en-GB', 'fr-FR']
|
||||
}),
|
||||
enforce: 'pre' as const
|
||||
}
|
||||
)
|
||||
// {
|
||||
// ...optimizeLocales.vite({
|
||||
// locales: ['en-GB', 'fr-FR']
|
||||
// }),
|
||||
// enforce: 'pre' as const
|
||||
// }
|
||||
];
|
||||
|
||||
export default defineConfig({
|
||||
|
|
Loading…
Reference in a new issue