Skip to content

easy-team/egg-webpack-rax

Repository files navigation

egg-webpack-rax

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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.webpackrax = {
};

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.

License

MIT