Skip to content

xboy2012/lbf-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    })
  ]
}

About

bundle your files into LBF Module format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published