diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 45514e900..e5f8b6603 100644 --- a/bin/copy-dist.ts +++ b/bin/copy-dist.ts @@ -14,9 +14,7 @@ function log(...args: any[]) { } async function copyNodeModuleFileOrFolder(source: string) { - const adjustedSource = source.substring(13); - const destination = path.join(DEST_DIR_NODE_MODULES, adjustedSource); - + const destination = path.join(DEST_DIR, source); log(`Copying ${source} to ${destination}`); await fs.ensureDir(path.dirname(destination)); await fs.copy(source, destination);