Skip to content
New issue

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

Packem v2 Updates and Changes #105

Open
5 of 17 tasks
prisis opened this issue Jan 25, 2025 · 0 comments
Open
5 of 17 tasks

Packem v2 Updates and Changes #105

prisis opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@prisis
Copy link
Member

prisis commented Jan 25, 2025

This ticket outlines the planned updates and changes for Packem v2.
The focus is on modernizing the bundler by removing legacy and outdated dependencies and features.

Tasks

  • Remove support for node-sass
  • Remove CommonJS (CJS) exports of Packem
  • Remove rollup-plugin-polyfill-node
  • Remove rollup-plugin-dts -> this was replaced with the isolated declarations
  • Move node10Compatibility out of Rollup config
  • Support .node files Support .node files #5
  • add support for workers
  • show type only file on the log output
worker = new Worker(new URL("./worker.js", import.meta.url), { type: "module" });
// or simply:
worker = new Worker("./worker.js", { type: "module" });
  • isolated dts transformer should resolve inline/bundled types -> this is needed to fully replace the dts plugin
  • Allow to set a builder before or after the core build
  • Allow to change extension of cjs and mjs export files
  • Add a benchmark between the most used bundlers
  • add a new prebundle command

Css

This was referenced Jan 25, 2025
@prisis prisis added enhancement New feature or request help wanted Extra attention is needed labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant