mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix: symlink dir
This commit is contained in:
parent
10e0f6ec1f
commit
1b2c67fea7
@ -78,7 +78,7 @@ async function createDevPluginSymLink(pluginName) {
|
||||
if (await fsExists(link)) {
|
||||
await unlink(link);
|
||||
}
|
||||
await symlink(resolve(packagePluginsPath, pluginName), link);
|
||||
await symlink(resolve(packagePluginsPath, pluginName), link, 'dir');
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user