lbf-webpack-plugin

1.0.5 • Public • Published

lbf-webpack-plugin

bundle your files into LBF Module format

Install

npm:

npm install lbf-webpack-plugin --save-dev

Usage

webpack.config.js

import LbfWebpackPlugin from 'lbf-webpack-plugin';

export default {
  output: {

    // ..

    libraryTarget: 'amd'

  },

  // plugins
  plugins: [
    new LbfWebpackPlugin({
        name: 'qidian.comp.mymodule'    //the export name you wanna use as the output LBF module name
    })
  ]
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.53latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.53
1.0.40
1.0.30
1.0.21
1.0.10
1.0.00
0.0.20
0.0.10

Package Sidebar

Install

npm i lbf-webpack-plugin

Weekly Downloads

4

Version

1.0.5

License

MIT

Last publish

Collaborators

  • xboy2012