mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 08:09:06 -05:00
074444ab6c
Additionaly, this no longer unnecessarily stores the source twice for file specifiers and fixes some sourcemap issues. Closes https://github.com/denoland/deno/issues/27284
10 lines
307 B
TypeScript
10 lines
307 B
TypeScript
// for setup, we create two directories with the same file in each
|
|
// and then when compiling we ensure this directory name has no
|
|
// effect on the output
|
|
makeCopyDir("a");
|
|
makeCopyDir("b");
|
|
|
|
function makeCopyDir(dirName) {
|
|
Deno.mkdirSync(dirName);
|
|
Deno.copyFileSync("main.ts", `${dirName}/main.ts`);
|
|
}
|