egg-webpack-rax

1.0.0 • Public • Published

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

/egg-webpack-rax/

    Package Sidebar

    Install

    npm i egg-webpack-rax

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.35 kB

    Total Files

    6

    Last publish

    Collaborators

    • hubcarl