combine-export-plugin

0.0.8 • Public • Published

combine-export-plugin

combine-export-plugin NPM downloads

A webpack plugin for combine export from multiple file

Install

npm install -D combine-export-plugin

Usage

// webpack.config.js
 
const CombineExportPlugin = require('combine-export-plugin')
module.exports = {
 
  //...
 
  plugins: [
    new CombineExportPlugin({
      basePath: path.resolve(__dirname, '../src/api/'),
      targetName: 'index.js',
      patterns: {
        include: '**/**.js',
        exclude: '',
      }
    }),
  ]
 
  // ....
 
}

Readme

Keywords

none

Package Sidebar

Install

npm i combine-export-plugin

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

6.5 kB

Total Files

4

Last publish

Collaborators

  • yunyu950908