1.0.0 • Published 5 years ago
egg-webpack-rax v1.0.0
egg-webpack-rax
Support react server side render file memory read for egg-webpack and egg-view-react. when the local development, wepback memory read the way to cover the local file read logic.
Install
$ npm i egg-webpack-rax --save-dev
Usage
// {app_root}/config/plugin.js
exports.webpackrax = {
enable: true,
package: 'egg-webpack-rax',
};
Configuration
// {app_root}/config/config.default.js
exports.webpackreact = {
};
see config/config.default.js for more detail.
Example
React server side render example, please see egg-react-webpack-boilerplate
Questions & Suggestions
Please open an issue here.