Skip to content

Incorrect Bundling Behavior #38

@crutchcorn

Description

@crutchcorn

Per jsdom/cssstyle#182, I noticed this package doesn't appear to be bundling proper ESM and CJS assets as-likely intended.

I'd love to submit a PR to fix this using TanStack Config, a project of mine and the rest of TanStack Team's that allows ESM and CJS configuration with very little configuration.

Some of the major changes that would be made would be:

  • PNPM instead of NPM
  • Moving .js files to .ts
  • Replacing testing config with Vitest (should be faster)
  • Custom ESPlugin replaced with one from TanStack Config

However, it should lead to a much more stable publishing platform and faster iteration on code

Would you be okay with this? I'd like to unblock this quickly, as it appears to be impeding many many JSDom projects looking to refresh their lockfiles.

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