Skip to content

moduleResolution shouldn't be set as bundler #47

@XiNiHa

Description

@XiNiHa

Currently, the moduleResolution option of the seroval package is set as Bundler, and this makes users without bundlers unable to consume the package correctly.

Since seroval uses Bundler and doesn't perform any postprocessing of module resolutions before publishing, module specifiers that only work with Bundler gets uploaded as-is on NPM and it breaks users who use stricter moduleResolution options like NodeNext, which forces users to utilize additional tools (bundlers, transpilers, etc) to perform additional module resolution.

If keeping the moduleResolution option as Bundler is desired, it should be fixed in pridepack to perform module resolution process during build to convert all module specifiers to be compatible with NodeNext.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions