Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Implement webpack extends property #8816

Open
KuSh opened this issue Dec 23, 2024 · 0 comments
Open

[Feature]: Implement webpack extends property #8816

KuSh opened this issue Dec 23, 2024 · 0 comments
Labels
feat New feature or request pr welcome

Comments

@KuSh
Copy link

KuSh commented Dec 23, 2024

What problem does this feature solve?

Migrating a project that currently use an extends property requires a rewrite of the configuration using webpack-merge (as documented here)

Implementing the extends property will make migration transparent
It can also be an opportunity to rewrite a performance oriented builtin webpack-merge in rust

What does the proposed API of configuration look like?

Webpack documentation: https://webpack.js.org/configuration/extending-configurations/

module.exports = {
  extends: path.resolve(__dirname, './base.rspack.config.js'),
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
  },
};
@KuSh KuSh added feat New feature or request pending triage The issue/PR is currently untouched. labels Dec 23, 2024
@LingyuCoder LingyuCoder added pr welcome and removed pending triage The issue/PR is currently untouched. labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

2 participants