fix(js): update Electron build configuration and dependencies (#411)
This commit is contained in:
@@ -86,7 +86,7 @@ function bundleOnePlugin({ npmName, pluginId }) {
|
||||
throw new Error(`Missing dependency "${npmName}". Run pnpm install first.`);
|
||||
}
|
||||
|
||||
const realPluginPath = fs.realpathSync(normWin(pkgPath));
|
||||
const realPluginPath = fs.realpathSync(pkgPath);
|
||||
const outputDir = path.join(OUTPUT_ROOT, pluginId);
|
||||
|
||||
echo`📦 Bundling plugin ${npmName} -> ${outputDir}`;
|
||||
@@ -126,7 +126,7 @@ function bundleOnePlugin({ npmName, pluginId }) {
|
||||
|
||||
let realPath;
|
||||
try {
|
||||
realPath = fs.realpathSync(normWin(fullPath));
|
||||
realPath = fs.realpathSync(fullPath);
|
||||
} catch {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user