rspack
rspack copied to clipboard
A fast Rust-based web bundler 🦀️
### Version ```sh System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (2) x64 AMD EPYC Memory: 1.80 GB / 4.01 GB Container: Yes Shell: Unknown npmPackages: @rsbuild/core:...
### System Info System: OS: macOS 14.5 CPU: (8) arm64 Apple M3 Memory: 16.00 GB Binaries: Node: 18.20.4 npm: 10.7.0 pnpm: 9.9.0 Browsers: Chrome: 128.0.6613.114 ### Details ``` import 'pdfjs-dist/web/pdf_viewer.css';...
### System Info ``` System: OS: macOS 14.6.1 CPU: (10) arm64 Apple M1 Pro Memory: 256.13 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node npm:...
### What problem does this feature solve? Node recently added support for the following (currently in RC status): - `import.meta.dirname` (https://nodejs.org/api/esm.html#importmetadirname) - `import.meta.filename` (https://nodejs.org/api/esm.html#importmetafilename) - `import.meta.resolve` (https://nodejs.org/api/esm.html#importmetaresolvespecifier) As webpack +...
### Version ```sh System: OS: Windows 10 10.0.19042 CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11500 @ 2.70GHz Memory: 12.17 GB / 31.71 GB Browsers: Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.74)...
## Summary closes https://github.com/web-infra-dev/rspack/issues/3738 closes https://github.com/web-infra-dev/rspack/issues/7723 TODOs or existing bugs to fix: - [ ] Resolver options of referenced modules should extend their parent modules'. Related to https://github.com/web-infra-dev/rspack/blob/833c058da7a9d1c2a15cd9be49065d7c75c7ed7a/tests/webpack-test/cases/loaders/issue-4959/loaders/index.js, "b" is...
## Summary closes https://github.com/web-infra-dev/rspack/issues/4304 Because rspack has not supported some API yet, this pr doesn't fully align `require.ensure` to webpack. But I think it's enough to use. 1. [Webpack calls...
## Summary revert: revert: feat(diagnostic): improve diagnostics for swc wasm plugins ## Checklist - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).
## Summary musl platform RUSTFLAGS is overritten by napi-rs, which cause rustflags defined in https://github.com/web-infra-dev/rspack/blob/main/.cargo/config.toml#L34 not working This PR temporarily fix this by patch napi-rs code before napi-rs fix it...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | [`5.0.2` -> `5.6.2`](https://renovatebot.com/diffs/npm/typescript/5.0.2/5.6.2) | [](https://docs.renovatebot.com/merge-confidence/) |...