We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76370c commit 6bcc4a6Copy full SHA for 6bcc4a6
1 file changed
src/compile.ts
@@ -43,7 +43,7 @@ export async function compile(workdir: string, options: Options) {
43
44
const targetdir = path.join(path.join(workdir, 'node_modules'), moduleName);
45
await fs.mkdirp(path.dirname(targetdir));
46
- await fs.ensureSymlink(dir, targetdir);
+ await fs.copy(dir, targetdir);
47
48
// add to "deps" and "peer deps"
49
if (!moduleName.startsWith('@types/')) {
0 commit comments