
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@horacehylee/react-scripts-webpack-config-editor
Advanced tools
edit the react-scripts webpack config for dev and prod builds!
edit the react-scripts webpack config at runtime.
npm install --save-dev react-scripts-webpack-config-editor
// package.json
{
"scripts": {
"install": "react-scripts-webpack-config-editor <my-webpack-transformer.js>"
}
}
// my-webpack-transformer.js
module.exports = function editWebpackConfig (webpackConfig) {
// webpackConfig is the parsed JS webpack config from react-scrips.
// modify it here synchronously, & return it.
return Object.assign({}, webpackConfig, {
...my-webpack-customizations
})
}
you love create-react-app, but need just a tiny tweak to the build process.
the whole point of sticking with react-scripts is offloading the complexity of the build system (webpack), and getting rolling updates. tweaking it implies that you want ownership of the build process!
if you must change the build used by react-scripts (create-react-app) you can either fork the project, or react-scripts eject. until now!
your custom modifications are sure to break when you bump react-scripts. however, the amount of modifications should be limited, so hopefully you only need to patch a few lines in your transformer.
FAQs
edit the react-scripts webpack config for dev and prod builds!
The npm package @horacehylee/react-scripts-webpack-config-editor receives a total of 2 weekly downloads. As such, @horacehylee/react-scripts-webpack-config-editor popularity was classified as not popular.
We found that @horacehylee/react-scripts-webpack-config-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.