### Describe the bug <img width="708" height="115" alt="Image" src="https://github.com/user-attachments/assets/dc79e759-eaa1-44b1-84ca-cc32d41f20c3" /> <img width="635" height="197" alt="Image" src="https://github.com/user-attachments/assets/5bd74648-5717-45d9-a7a0-29d14cf9a4c4" /> ### 在vite.config.ts 中使用别名无效; <img width="450" height="280" alt="Image" src="https://github.com/user-attachments/assets/60c87ea7-0869-41aa-80ea-55bf19977d30" /> ### tsconfig 配置无效 <img width="523" height="245" alt="Image" src="https://github.com/user-attachments/assets/8ab429fc-c03f-42b8-bc7f-babd3b919c4c" /> ### 添加rolldown.config.js 无效 <img width="749" height="499" alt="Image" src="https://github.com/user-attachments/assets/6a9724bd-3569-4e0f-973a-a05413ed0d93" /> ### 在源码中添加 alias 有效 ### Reproduction [demo](https://stackblitz.com/edit/vitejs-rolldown-vite-mgy7sttt?file=vite.config.ts) ### Steps to reproduce _No response_ ### System Info ```shell System: OS: Linux 6.6 Deepin 23.1 23.1 CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor Memory: 5.80 GB / 31.23 GB Container: Yes Shell: 5.9 - /usr/bin/zsh Binaries: Node: 22.16.0 - ~/.config/nvm/versions/node/v22.16.0/bin/node Yarn: 1.22.22 - ~/.config/nvm/versions/node/v22.16.0/bin/yarn npm: 10.9.2 - ~/.config/nvm/versions/node/v22.16.0/bin/npm pnpm: 10.14.0 - ~/.config/nvm/versions/node/v22.16.0/bin/pnpm Browsers: Chrome: 138.0.7204.92 npmPackages: @vitejs/plugin-basic-ssl: ^2.1.0 => 2.1.0 @vitejs/plugin-vue: ^6.0.1 => 6.0.1 @vitejs/plugin-vue-jsx: 5.0.0 => 5.0.0 rolldown-vite: 7.1.13 ``` ### Used Package Manager npm ### Logs _No response_ ### Validations - [x] Follow our [Code of Conduct](https://github.com/vitejs/rolldown-vite/blob/main/CODE_OF_CONDUCT.md) - [x] Read the [Contributing Guidelines](https://github.com/vitejs/rolldown-vite/blob/main/CONTRIBUTING.md). - [x] Read the [docs](https://vite.dev/guide) and the [Rolldown-related guide](https://main.vite.dev/guide/rolldown.html). - [x] Check that there isn't [already an issue](https://github.com/vitejs/rolldown-vite/issues) that reports the same bug to avoid creating a duplicate. - [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/rolldown-vite/discussions) or join our [Discord Chat Server](https://chat.vite.dev/). - [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
Describe the bug
在vite.config.ts 中使用别名无效;
tsconfig 配置无效
添加rolldown.config.js 无效
在源码中添加 alias 有效
Reproduction
demo
Steps to reproduce
No response
System Info
System: OS: Linux 6.6 Deepin 23.1 23.1 CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor Memory: 5.80 GB / 31.23 GB Container: Yes Shell: 5.9 - /usr/bin/zsh Binaries: Node: 22.16.0 - ~/.config/nvm/versions/node/v22.16.0/bin/node Yarn: 1.22.22 - ~/.config/nvm/versions/node/v22.16.0/bin/yarn npm: 10.9.2 - ~/.config/nvm/versions/node/v22.16.0/bin/npm pnpm: 10.14.0 - ~/.config/nvm/versions/node/v22.16.0/bin/pnpm Browsers: Chrome: 138.0.7204.92 npmPackages: @vitejs/plugin-basic-ssl: ^2.1.0 => 2.1.0 @vitejs/plugin-vue: ^6.0.1 => 6.0.1 @vitejs/plugin-vue-jsx: 5.0.0 => 5.0.0 rolldown-vite: 7.1.13Used Package Manager
npm
Logs
No response
Validations