pages
This commit is contained in:
+9
-5
@@ -17,11 +17,15 @@ function sourcemapEnabled(): boolean {
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react({
|
||||
babel: {
|
||||
plugins: ["babel-plugin-react-compiler"],
|
||||
},
|
||||
}),
|
||||
react(
|
||||
process.env.UI_REACT_COMPILER === "1"
|
||||
? {
|
||||
babel: {
|
||||
plugins: ["babel-plugin-react-compiler"],
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
),
|
||||
],
|
||||
base: "/ui/",
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user