Skip to content

PythonCoderAS/typescript-bug-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-bug-repro

Repro for typescript cts files

Instructions to repro

  1. npm install
  2. npm run build-ts

Expected output

const { resolve } = require("path");
const config = resolve(__dirname, "config.cts");
module.exports = config;
//# sourceMappingURL=config.cjs.map

Actual Output

import { resolve } from "path";
const config = resolve(__dirname, "config.cts");
module.exports = config;
//# sourceMappingURL=config.cjs.map

About

Repro for typescript cts files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published