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
--module
#50647
.mts
.cts
.mjs
.cjs
--module esnext
nodenext
noEmit
esABCD
esnext
package.json
type
--moduleResolution bundler
--module nodenext
bundler
verbatimModuleSyntax
.ts
.tsx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Module-Format-Indicating Files Under Certain
--module
Targets#50647
.mts
and.cts
to the list of extensions we recognize..mjs
and.cjs
respectively..mts
file in an editor shouldn't cause us to choke.--module esnext
.cts
is interpreted as ESM--module esnext
+.cts
would emit to.cjs
with CJS constructs.nodenext
?noEmit
?esABCD
module modes?esnext
vsnodenext
?esnext
= ESM imports and exportsnodenext
= depends onpackage.json
type
field and file extension.--moduleResolution bundler
" to these users?--module
option there?esnext
?.cts
/.cjs
file?--module nodenext
+bundler
?verbatimModuleSyntax
avoids many of these concerns. It removes the overhead of the emit target because what you see is roughly what you get.--module
would only toggle the emit settings for.ts
and.tsx
files.The text was updated successfully, but these errors were encountered: