@cloudbase/lowcode-builder 1.8.82 → 1.8.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,7 +171,7 @@ function generateMpConfig(ctx, weapps, options) {
171
171
  if (!projConfig.setting.packNpmRelationList) {
172
172
  projConfig.setting.packNpmRelationList = [];
173
173
  }
174
- projConfig.setting.packNpmRelationList = mergePackNpmRelationList(generateSystemPackNpmRelationList(path.posix.join(projConfig.miniprogramRoot, projConfig.wedaRoot)), projConfig.setting.packNpmRelationList.filter((item) => {
174
+ projConfig.setting.packNpmRelationList = mergePackNpmRelationList(generateSystemPackNpmRelationList(path.posix.join('./', projConfig.miniprogramRoot || '/', projConfig.wedaRoot || '')), projConfig.setting.packNpmRelationList.filter((item) => {
175
175
  return !/\/packages\/\$wd_system\/package.json/.test(item.packageJsonPath);
176
176
  }));
177
177
  if (process.env.IS_WEB_WORKER) {