[Update] Change download and load plugins structure.(change the plugins' build method vite to webpack. load esm.js )
This commit is contained in:
@@ -33,6 +33,11 @@ export default defineConfig(async () => ({
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
"react": path.resolve(__dirname, "node_modules/react"),
|
||||
"react-dom": path.resolve(__dirname, "node_modules/react-dom"),
|
||||
|
||||
|
||||
|
||||
"@root": path.resolve(__dirname),
|
||||
"@test_data": path.resolve(__dirname, "./test_data.js"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user