webpackjsonp
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

webpackJsonp

为解决 处理vue打包微信白屏 webpackJsonp 及webpack插件处理

配置

{
    //需要处理的文件路径
    filePath:path.join(__dirname, '../../dist/index.html'),
    //替换字符串条件
    srtList:[
        // "manifest",
        // "vendor",
        'app'],
    //查询时间
    time:null,
    //是否终止程序,调试用
    exit:false,
    //插件回调,做你想做的是
    callBack:new Function(),
    //是否运行默认的done钩子
    done:true,
    //webpack插件钩子列表
    plugin:null
}

Readme

Keywords

none

Package Sidebar

Install

npm i webpackjsonp

Weekly Downloads

4

Version

0.0.8

License

ISC

Unpacked Size

32.4 kB

Total Files

22

Last publish

Collaborators

  • zys