egg-webpack-react

3.0.0 • Public • Published

egg-webpack-react

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-ssr. when the local development, wepback memory read the way to cover the local file read logic.

Install

$ npm i egg-webpack-react --save-dev

Version

  • 3.x.x > Node 8
  • 2.x.x > Node 6

Usage

// {app_root}/config/plugin.js
exports.webpackreact = {
  enable: true,
  package: 'egg-webpack-react',
};

Configuration

// {app_root}/config/config.default.js
exports.webpackreact = {
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

/egg-webpack-react/

    Package Sidebar

    Install

    npm i egg-webpack-react

    Weekly Downloads

    73

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    8.29 kB

    Total Files

    7

    Last publish

    Collaborators

    • hubcarl