Wei

Results 98 issues of Wei

### Version ```sh System: OS: macOS 15.0.1 CPU: (14) arm64 Apple M3 Max Memory: 145.75 MB / 36.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 134.0.6998.166 Safari: 18.0.1 ``` ###...

Rspack

### What problem does this feature solve? Stabilize config design schema for 1.0, ensure no breaking change in foreseeable future. ### What does the proposed API look like? x

### Version ```sh System: OS: macOS 15.0.1 CPU: (14) arm64 Apple M3 Max Memory: 145.75 MB / 36.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 134.0.6998.166 Safari: 18.0.1 ``` ###...

Rspack

### What problem does this feature solve? Given a source code like below, which targeting ESM output: ```js const A = require('react') ``` There will be a warning from `composeExternalsWarnConfig`,...

### What problem does this feature solve? Adding more examples for the following "uncommon" usages, adding a "best practice" will save a lot times for users. - [ ] wasm...

### Version ```sh latest ``` ### Details Can not bundle files with `createRequire`: ```ts import { createRequire } from 'module' const require = createRequire(import.meta.url) const data = require('./data.js') export default...

Rspack

## Summary ## WIP, NOT FOR CODE REVIEW - [ ] converge other check items ## Related Links ## Checklist - [ ] Tests updated (or not required). - [...

change: feat

### What problem does this feature solve? See https://github.com/web-infra-dev/rslib/blob/f9f1751a304051947ea27d47146d072b9c448da1/examples/react-component-bundle/rslib.config.ts#L39 When `tsconfigjson.jsx` is set to `react`. We need to set swc react runtime to `classic` explicitly. It's pretty error-prone and trivial....

💡 feature

### Version ```sh / ``` ### Details https://github.com/web-infra-dev/rslib/blob/main/packages/core/src/plugins/entryModuleLoader.ts The loader should accept and process the sourcemap. ### Reproduce link / ### Reproduce Steps /

🐞 bug

### What problem does this feature solve? Just like common build tools, we could build a simple library like `rslib build --external react --format esm --target web` ### What does...

💡 feature