rspack
rspack copied to clipboard
A fast Rust-based web bundler 🦀️
### What subject does this issue tracking? The current implementation of the SwcJsMinimizerRspackPlugin `format.comments` (https://rspack.dev/plugins/rspack/swc-js-minimizer-rspack-plugin) does not allow regex to be used like https://webpack.js.org/plugins/terser-webpack-plugin/#preserve-comments ``` new TerserPlugin({ terserOptions: { format:...
### System Info **System:** OS: Windows 11 10.0.22631 CPU: (12) x64 Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz Memory: 14.21 GB / 31.93 GB **Binaries:** Node: 18.12.0 - C:\Program Files\nodejs\node.EXE npm:...
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [dashmap](https://redirect.github.com/xacrimon/dashmap) | workspace.dependencies | major | `5.5.3` -> `6.0.0` | | [handlebars](https://redirect.github.com/sunng87/handlebars-rust) |...
### What subject does this issue tracking? Run Next.js on Rspack https://github.com/ScriptedAlchemy/rsnext/pull/1/files# the progress is tracked here ```[tasklist] ### RsNext support - [x] compilation.modules[i].blocks support - [ ] support passing...
See webpack: https://github.com/webpack/webpack/blob/main/lib/stats/DefaultStatsFactoryPlugin.js#L1574-L1577 Need to get location info from all dependencies. This relates to https://github.com/web-infra-dev/rspack/issues/7422
### What problem does this feature solve? #### Definition Virtual Module: module not exists on real filesystem #### Background Virtual module is widely used in bundler ecosystem( vite、webpack), and different...
### System Info System: OS: Windows 11 10.0.22631 CPU: (40) x64 Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz Memory: 34.83 GB / 63.66 GB Binaries: Node: 20.11.0 - C:\Program Files\nodejs\node.EXE...
### System Info ``` System: OS: Linux 6.8 Arch Linux CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics Memory: 17.69 GB / 62.22 GB Container: Yes Shell: 5.9...
### What problem does this feature solve? docusaurus use https://webpack.js.org/plugins/context-replacement-plugin/#root to optimize primjs bundling ### What does the proposed API of configuration look like? same as webpack
## Summary - chunkGraph.getModuleId - fix DynamicEntryPlugin - external function contextInfo.issuerLayer - external function getResolve - deep merge module.rule.resolve - optimize calculate module rule perf ## Checklist - [ ]...