diff --git a/packages/core/utils/plugin-symlink.js b/packages/core/utils/plugin-symlink.js index f067400bb2..94ea24c87f 100644 --- a/packages/core/utils/plugin-symlink.js +++ b/packages/core/utils/plugin-symlink.js @@ -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); }