
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
easywebpack-react
Advanced tools
React client render and server side render build solution for Webpack
$ npm i easywebpack-react --save-dev
$ npm i easywebpack-cli -g
$ easy init
$ npm start
webpack.config.jsconst easywebpack = require('easywebpack-react');
const webpack = easywebpack.webpack;
const merge = easywebpack.merge;
const webpackConfig = easywebpack.getWebpackConfig({
env, // support dev, test, prod
target : 'web', // browser mode build
entry:{
app: 'src/index.js'
},
customize(webpackConfig) {
// ... customize webpack config
return webpackConfig;
}
});
easy build --webpack
OR
webpack --config webpack.config.js
const webpackConfig = require('./webpack.config.js');
const easywebpack = require('easywebpack-react');
const webpackTool = new WebpackTool();
// development mode
easywebpack.server(webpackConfig);
// build file to disk
easywebpack.build(webpackConfig);
## Example
- [react-client-render-boilerplate](https://github.com/easy-team/easywebpack-cli-template/tree/master/boilerplate/react) React client render boilerplate.
- [egg-react-webpack-boilerplate](https://github.com/easy-team/egg-react-webpack-boilerplate) support client render and server render.
- [egg-react-typescript-boilerplate](https://github.com/easy-team/egg-react-typescript-boilerplate) Egg + TypeScript + React server render boilerplate.
- you can use [easywebpack-cli](https://github.com/easy-team/easywebpack-cli) create client render project or create server side render project for react.
## Questions & Suggestions
Please open an issue [here](https://github.com/easy-team/easywebpack-react).
## License
[MIT](LICENSE)
FAQs
React client render and server side render build solution for Webpack
The npm package easywebpack-react receives a total of 83 weekly downloads. As such, easywebpack-react popularity was classified as not popular.
We found that easywebpack-react 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.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.