Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function compile(workdir: string, options: Options) {

const targetdir = path.join(path.join(workdir, 'node_modules'), moduleName);
await fs.mkdirp(path.dirname(targetdir));
await fs.ensureSymlink(dir, targetdir);
await fs.copy(dir, targetdir);

// add to "deps" and "peer deps"
if (!moduleName.startsWith('@types/')) {
Expand Down