Refactor bundler function
This commit is contained in:
@@ -14,7 +14,7 @@ export default async function serverPostBuildFn() {
|
||||
for (let i = global.HMR_CONTROLLERS.length - 1; i >= 0; i--) {
|
||||
const controller = global.HMR_CONTROLLERS[i];
|
||||
|
||||
if (!controller.target_map?.local_path) {
|
||||
if (!controller?.target_map?.local_path) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user