Skip to content

CharlesMoone/bizroad-webpack-plugin

Repository files navigation

BizroadWebpackPlugin

version name install package version
prod npm install bizroad-webpack-plugin -D 1.0.6

notice

ensure your node version is >10, sorry about only support lts version node

  • support TS, TSX, JSX, JS
  • UI 1.0
  • support search path and find what import and import what
  • support click the path to search
  • support the TYPE of the package like lazy load
  • support find useless package from package.json
  • support find the version which in package.json, should be updated or dangerous

install

npm install bizroad-webpack-plugin -D

# or use yarn
yarn add bizroad-webpack-plugin -D

usage

// webpack.config.js with require
const { BizroadWebpackPlugin } = require('bizroad-webpack-plugin');

module.exports = {
  // ...configs
  plugins: [
    new BizroadWebpackPlugin(),
    // ...other plugins
  ],
};
// webpack.config.js with import
// webpack cli version > 4.35
import { BizroadWebpackPlugin } from 'bizroad-webpack-plugin';

export default {
  // ...configs
  plugins: [
    new BizroadWebpackPlugin(),
    // ...other plugins
  ],
};

params

key type default introduction
name String 'bizroad' output dir name
outputPath String '' output dir path
parsePlugins Array ['jsx', 'dynamicImport', 'classProperties', 'typescript', 'decorators-legacy'] @babel/parser support type

For Test

npm install
npm run test
# open bizroad/index.html

then open bizroad/index.html file

A sankey of your project's business load will show

Author

charlesmoone, [email protected]

Contributors

welcome new Github guy ~ 🎉🎉🎉

jijiaxin1808

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors