year of compiled react, bump to 1.9.2
Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
+20
-1
@@ -5,7 +5,26 @@ const host = process.env.TAURI_DEV_HOST
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(async () => ({
|
||||
plugins: [react()],
|
||||
plugins: [
|
||||
react({
|
||||
babel: {
|
||||
plugins: [
|
||||
[
|
||||
'babel-plugin-react-compiler',
|
||||
{
|
||||
target: '18',
|
||||
panicThreshold: 'all_errors',
|
||||
logger: {
|
||||
logEvent(filename, event) {
|
||||
console.log(`[Compiler] ${event.kind}: ${filename}`)
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
esbuild: {
|
||||
supported: {
|
||||
|
||||
Reference in New Issue
Block a user