npm

Join us for the "JavaScript Supply Chain Security" tech talk, presented by VP of Security, Adam Baldwin. 6/20 at 10am PT.Sign up here »

egg-webpack-middleware

1.0.1 • Public • Published

egg-webpack-middleware

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

Install

$ npm i egg-webpack-middleware --save

Usage

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

Configuration

// {app_root}/config/config.local.js
let devConfig = require('./../config/webpack.config');  //webpack配置
 
exports.webpackMiddleware = devConfig;

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT

install

npm i egg-webpack-middleware

Downloadsweekly downloads

2

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability