Skip to content

[TS] Use "moduleResolution": "bundler" in tsconfig ? #4578

Description

@goswinr

How about using
"bundler" instead of "node" in "moduleResolution": ?
here:

"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */

"node" seems deprecated in TS 6:

Image

Along with that change, I would also remove all .ts suffixes from relative imports in fable-library-ts

Otherwise, users always have to put "allowImportingTsExtensions": true in their tsconfigs.
Or is that not a good idea for some reason?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions