1.0.0 • Published 5 years ago

egg-webpack-rax v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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.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.

License

MIT