Bugfix. Extract react imports from main bundler to vendor static files

This commit is contained in:
2026-04-08 05:39:11 +01:00
parent c19b7c9607
commit 4b3a4dbc77
38 changed files with 825 additions and 253 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export default async function grabFilePathModule({ file_path, out_file, }) {
format: "esm",
target: "es2020",
platform: "node",
external: ["react", "react-dom"],
// external: ["react", "react-dom"],
minify: true,
define: {
"process.env.NODE_ENV": JSON.stringify(dev ? "development" : "production"),