Skip to content

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

@goswinr

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions