Bugfix. Extract react imports from main bundler to vendor static files
This commit is contained in:
@@ -25,7 +25,7 @@ export default async function grabFilePathModule<T extends any = any>({
|
||||
format: "esm",
|
||||
target: "es2020",
|
||||
platform: "node",
|
||||
external: ["react", "react-dom"],
|
||||
// external: ["react", "react-dom"],
|
||||
minify: true,
|
||||
define: {
|
||||
"process.env.NODE_ENV": JSON.stringify(
|
||||
|
||||
Reference in New Issue
Block a user