Skip to content

佛祖保佑,永无bug,代码开光,该plugin自动在webpack打包后在JS头部加上神注释,以保佑你的线上代码不被bug烦扰。

Notifications You must be signed in to change notification settings

fujiazhang/kaiguang-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaiguang-webpack-plugin

佛主来为您的代码开光,自动在webpack构建后在JS文件头部加上神注释,以保佑你的线上代码不被bug烦扰。

安装

NPM安装

npm i kaiguang-webpack-plugin --save-dev

范围

  • 默认会打包构建后的所有js文件添加

使用

配置wepack plugins

1.首先引入 const KaiguangPlugin = require('kaiguang-webpack-plugin')

2.配置到插件数组添加参数,如: plugins:[ new AddKaiguangPlugin({}) ]

关于信仰

  • 目前默认为佛主来为您的代码开光,后面会陆续增加一些信仰

About

佛祖保佑,永无bug,代码开光,该plugin自动在webpack打包后在JS头部加上神注释,以保佑你的线上代码不被bug烦扰。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published