We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
out, suffix
add --outSuffix compiler option
tsc --module es6 --outSuffix mjs
Imagine I have a package with file tree: my_package/ ├── a.ts ├── b.ts ├── index.ts ├── package.json └── tsconfig.json then I run: > tsc --module es6 --outSuffix mjs > tsc --module commonjs --outSuffix js then the file tree will be: my_package/ ├── a.d.ts ├── a.js ├── a.mjs ├── a.ts ├── b.d.ts ├── b.js ├── b.mjs ├── b.ts ├── index.d.ts ├── index.js ├── index.mjs ├── index.ts ├── package.json └── tsconfig.json
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered:
Oh, sorry, before I didn't search keyword mjs... Now I find these issues: #30076 #18442
mjs
Sorry, something went wrong.
.ts
No branches or pull requests
Search Terms
out, suffix
Suggestion
add --outSuffix compiler option
Use Cases
tsc --module es6 --outSuffix mjs
Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: