Wei

Results 98 issues of Wei

### What problem does this feature solve? For example, if the shim of `__dirname` is not enabled for ESM output, there will be a runtime error when executing. It's better...

💡 feature

## Summary related Rslib PR https://github.com/web-infra-dev/rslib/pull/1331. ### Overview This PR adds native support for handling hashbang (`#!/usr/bin/env node`) and React directives (`"use client"`, `"use server"` and whatever the very first...

team
release: feature

## Summary ## Related Issue ## Checklist - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).

### What problem does this feature solve? ref https://github.com/storybookjs/storybook/pull/32921. sync the refactor to Rsbuild builder. ### What does the proposed API look like? /

## Summary warn user when they're using some package but not declared in `dependencies` or `devDependencies` in bundleless mode, since nothing will be bundled then. ## Related Links ## Checklist...

change: feat

## Summary depends on https://github.com/web-infra-dev/rspack/pull/12302. ## Related Links ## Checklist - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).

change: feat

### Version ```sh 0.0.5 ``` ### Details should not skipping the parser hook by using `importDynamic`, but rather using an early hook to simply respect `importFunctionName`. ### Reproduce link Rslib...