[Update/bugfix] Plugins: For development, fix hot reload issue that was restart every time updated the files.

This commit is contained in:
Sakamoto Shiina
2025-03-26 00:45:29 +09:00
parent 824a9fa0a9
commit 1ebdefcd43
8 changed files with 22 additions and 20 deletions

View File

@@ -33,11 +33,6 @@ 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"),
@@ -53,6 +48,8 @@ export default defineConfig(async () => ({
"@setting_box": path.resolve(__dirname, "src-ui/app/config_page/setting_section/setting_box/index.js"),
"@common_components": path.resolve(__dirname, "src-ui/common_components/index.js"),
"@dev_plugins_path": path.resolve(__dirname, "src-ui/plugins/index.js"),
},
},