prepack-webpack-plugin

A webpack plugin for prepack.

Github星跟踪图

prepack-webpack-plugin

Travis build status
Coveralls
NPM version
Canonical Code Style

A webpack plugin for prepack.

Usage

  1. Install prepack-webpack-plugin.
  2. Add an instance of the plugin to the webpack plugin configuration.

Note that this plugin only works with webpack 4.x

Configuration, Name, Description, Default, ---, ---, ---, test, A regex used to match the files., /\.js($\, \?)/i, prepack, Prepack configuration. See Prepack documentation., ## Example

import PrepackWebpackPlugin from 'prepack-webpack-plugin';

const configuration = {};

module.exports = {
  // ...
  plugins: [
    new PrepackWebpackPlugin(configuration)
  ]
};

If you are using commonjs, you must explicitly reference the .default property of the module, e.g.

const PrepackWebpackPlugin = require('prepack-webpack-plugin').default;

const configuration = {};

module.exports = {
  // ...
  plugins: [
    new PrepackWebpackPlugin(configuration)
  ]
};

主要指标

概览
名称与所有者gajus/prepack-webpack-plugin
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证Other
所有者活动
创建于2017-05-03 17:46:31
推送于2018-10-07 19:14:38
最后一次提交2018-10-07 20:11:21
发布数4
最新版本名称v1.1.2 (发布于 )
第一版名称v1.0.1 (发布于 2017-05-03 20:31:47)
用户参与
星数1k
关注者数18
派生数46
提交数82
已启用问题?
问题数33
打开的问题数15
拉请求数15
打开的拉请求数0
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?