gajus/prepack-webpack-plugin
gajus/prepack-webpack-plugin has 1,022 GitHub stars and 31 forks. Star changes are not measured yet. Last checked 2026-11-09 12:18 UTC. Last push 2018-10-07.
A webpack plugin for prepack.
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalprepack-webpack-plugin
A webpack plugin for prepack.
Usage
- Install
prepack-webpack-plugin. - 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
.defaultproperty of the module, e.g.const PrepackWebpackPlugin = require('prepack-webpack-plugin').default; const configuration = {}; module.exports = { // ... plugins: [ new PrepackWebpackPlugin(configuration) ] };
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,946 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,584 starsreact/react
The library for web and native user interfaces.
252,496 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,622 stars