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

Open
wants to merge 14 commits into
base: master
Choose a base branch
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

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.

None yet

3 participants