-
-
Notifications
You must be signed in to change notification settings - Fork 755
Labels
PR welcometeamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.
Description
What problem does this feature solve?
Currently, Rspack (following webpack) requires output.path to be an absolute path. This restriction can be inconvenient in simple setups where developers naturally write:
output: {
path: 'dist'
}Instead of the more verbose:
output: {
path: path.resolve(__dirname, 'dist')
}Related PR: #12061
What does the proposed API of configuration look like?
Allow output.path in Rspack config to accept relative paths, and internally normalize them to absolute paths based on context.
Benefits:
- Improves developer experience
- Aligns with modern bundler ergonomics
Metadata
Metadata
Assignees
Labels
PR welcometeamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.