mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add react compiler
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import react from '@vitejs/plugin-react';
|
||||
|
||||
export function createReactPlugin() {
|
||||
return react({
|
||||
babel: {
|
||||
plugins: ['babel-plugin-react-compiler'],
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user