All Projects → gajus → Prepack Webpack Plugin

gajus / Prepack Webpack Plugin

Licence: other
A webpack plugin for prepack.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Prepack Webpack Plugin

Webpack Fix Style Only Entries
Webpack plugin to solve the problem of having a style only entry (css/sass/less) generating an extra js file.
Stars: ✭ 250 (-76.28%)
Mutual labels:  webpack, plugin
Serviceworker Webpack Plugin
Simplifies creation of a service worker to serve your webpack bundles. ♻️
Stars: ✭ 454 (-56.93%)
Mutual labels:  webpack, plugin
Webpack Ops
📁 webpack bundle visualization // optimization // config tool
Stars: ✭ 251 (-76.19%)
Mutual labels:  webpack, plugin
Vue Plugin Template
🚀 Solid foundation to start a Vue plugin with the best developer experience and a focus on performance
Stars: ✭ 189 (-82.07%)
Mutual labels:  webpack, plugin
Skpm
💎📦 A utility to build and publish Sketch plugins
Stars: ✭ 890 (-15.56%)
Mutual labels:  webpack, plugin
Webpackmonitor
A tool for monitoring webpack optimization metrics through the development process
Stars: ✭ 2,432 (+130.74%)
Mutual labels:  webpack, plugin
Webpack Pwa Manifest
Progressive Web App Manifest Generator for Webpack, with auto icon resizing and fingerprinting support.
Stars: ✭ 447 (-57.59%)
Mutual labels:  webpack, plugin
Webpack Internal Plugin Relation
🔎 a tiny tool to show the relation of webpack internal plugins & hooks
Stars: ✭ 135 (-87.19%)
Mutual labels:  webpack, plugin
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (-38.43%)
Mutual labels:  webpack, plugin
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+321.63%)
Mutual labels:  webpack, plugin
Webpack Deadcode Plugin
Webpack plugin to detect unused files and unused exports in used files
Stars: ✭ 180 (-82.92%)
Mutual labels:  webpack, plugin
Webpack Alioss Plugin
阿里 oss-webpack 自动上传插件
Stars: ✭ 35 (-96.68%)
Mutual labels:  webpack, plugin
Webpack Fast Refresh
React Fast Refresh plugin and loader for webpack
Stars: ✭ 155 (-85.29%)
Mutual labels:  webpack, plugin
Grunt Webpack
integrate webpack into grunt build process
Stars: ✭ 249 (-76.38%)
Mutual labels:  webpack, plugin
Speed Measure Webpack Plugin
⏱ See how fast (or not) your plugins and loaders are, so you can optimise your builds
Stars: ✭ 1,980 (+87.86%)
Mutual labels:  webpack, plugin
Miox
Modern infrastructure of complex SPA
Stars: ✭ 374 (-64.52%)
Mutual labels:  webpack, plugin
Webapp Webpack Plugin
[DEPRECATED] use favicons-webpack-plugin instead
Stars: ✭ 127 (-87.95%)
Mutual labels:  webpack, plugin
Webpack Plugin Hash Output
Plugin to replace webpack chunkhash with an md5 hash of the final file conent.
Stars: ✭ 128 (-87.86%)
Mutual labels:  webpack, plugin
Webpack Parallel Uglify Plugin
A faster uglifyjs plugin.
Stars: ✭ 456 (-56.74%)
Mutual labels:  webpack, plugin
Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (-10.63%)
Mutual labels:  webpack, plugin

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)
  ]
};

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].