-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
support webpack.config.cjs
by default
#1165
Comments
This requires a minimum version of node right? |
No, we can just regard |
Seems like we can't just support it - gulpjs/interpret#65 |
Actually, you can, as |
Hi. Can I take up this issue? @ematipico |
Hi. I have made some changes, how do I test that the changes resolve the issue? |
@Parikshit-Hooda As this is a new feature you are implementing you have to write your own tests. Also, you can run the current tests with |
@snitin315 Actually, I want to confirm if the feature addition actually fixes this issue or not? I imagine that the modified repo(fixed webpack-cli) will need to be imported in a dummy project and check. How do I go about checking this? |
you can use |
Haven't done this kind of an activity before. Can you please elaborate or tell me what exactly should I google? |
You need to run your changes locally, https://docs.npmjs.com/cli/link.html |
Question: Should I link the repo after following the contributing.md and making edits or without following the instructions in CONTRIBUTING.md. I am asking because I am not sure if going through yarn install ->bootstrap -> build causes some unrequired changes. |
What are the unrequired changes? Yep please install, bootstrap, build then link the webpack-cli package in the packages folder. Then you need to
Yes, after following the steps. |
Invoke using |
Doesn't seem to work. |
You didn't symlink properly then. |
got it. will raise a PR in a couple of days. |
Alternative solution: wondering if replacing the extension '.cjs' with '.js' is a better solution? |
|
^
Nope, as stated above they are interpreted differently, so not a good solution. |
Hey yall. Is it currently planned to support esm for config files? I guess it would raise the minimum node version way too high right? |
We should also pick it up when a
webpack.config.cjs
is presentThe text was updated successfully, but these errors were encountered: