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

Feat: webpack template generator for webpack repos #4152

Closed
wants to merge 14 commits into from

Conversation

info-arnav
Copy link

@info-arnav info-arnav commented Apr 22, 2024

With reference to #3768

The following --template flag will be introduced

webpack init --template webpack

And the template webpack will act as a replacer for webpack-defaults

I have only added the basic idea of execution, please lemme know if it is interprated correctly; then ill continue.

@info-arnav info-arnav requested a review from a team as a code owner April 22, 2024 15:55
args[templateIndex + 1] == "webpack"
) {
this.template = args[templateIndex + 1];
// now if the template is webpack, then we follow the execution of webpack-defaults ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to move all logic of webpack-defaults here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i.e. the same files, configuration and etc

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, working on it

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a gsoc project working on CWA (Create Webpack App) and we will not accept his pr at this time. Thank you for the contribution though! Maybe we can find another issue for you to solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants