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
fix(node): use webpack compilation hooks to emit package.json #10229
fix(node): use webpack compilation hooks to emit package.json #10229
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
92cb8ff
to
26922df
Compare
26922df
to
e17f7c8
Compare
0ddb3e3
to
6f569a1
Compare
Thanks for the PR, we'll review it to see if this is the right approach. |
@skrtheboss thank you for the PR. I tested this locally and it looks good. Can you rebase with latest and resolve the merge conflict? |
Use the webpack plugin system to create the package.json, this allows for developers to use plugins like CleanWebpackPlugin which clears the dist before the compilation starts. If this plugin is used in combination with the old method of generating the package.json, then it is deleted on compilation start.
6f569a1
to
de59f0d
Compare
Hi @nartc, I have solved the merge conflict. Let me know if you need me to do something else. |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Use the webpack plugin system to create the package.json, this allows for developers to use plugins like
CleanWebpackPlugin which clears the dist before the compilation starts. If this plugin is used in
combination with the old method of generating the package.json, then it is deleted on compilation start.