Displaying 1 to 20 from 45 results

webpack.js.org - New repository for webpack documentation and more!

  •    Javascript

Guides, documentation, and all things webpack.We haven't created issues for the other sections yet, but they will be coming soon. For dev-related work please see General - Current Longterm Plan, which will soon be replaced by a more dev-specific issue.

svg-sprite-loader - Webpack loader for creating SVG sprites.

  •    Javascript

Webpack loader for creating SVG sprites. 🎉 2.0 is out, please read the migration guide & overview.

prerender-spa-plugin - Prerenders static HTML in a single-page application.

  •    Javascript

Flexible, framework-agnostic static site generation for sites and SPAs built with webpack. 👉 This is the stable 3.x version of prerender-spa-plugin based on puppeteer. If you're looking for the (now-deprecated) 2.x version, based on PhantomJS, take a look at the v2 branch.

karma-webpack - Karma webpack Middleware

  •    Javascript

This configuration is more performant, but you cannot run single test anymore (only the complete suite). The above configuration generates a webpack bundle for each test. For many test cases this can result in many big files. The alternative configuration creates a single bundle with all test cases.




mini-css-extract-plugin - Lightweight CSS extraction plugin

  •    Javascript

This plugin extracts CSS into separate files. It creates a CSS file per JS file which contains CSS. It supports On-Demand-Loading of CSS and SourceMaps. It builds on top of a new webpack v4 feature (module types) and requires webpack 4 to work.

npm-install-webpack-plugin - Speed up development by automatically installing & saving dependencies with Webpack

  •    Javascript

Speed up development by automatically installing & saving dependencies with Webpack. It sucks to Ctrl-C your build script & server just to install a dependency you didn't know you needed until now.

uglifyjs-webpack-plugin - UglifyJS Plugin

  •    Javascript

If you use your own minify function please read the minify section for cache invalidation correctly. Enable file caching. Default path to cache directory: node_modules/.cache/uglifyjs-webpack-plugin.

copy-webpack-plugin - Copy files and directories with webpack

  •    Javascript

ℹ️ If you want webpack-dev-server to write files to the output directory during development, you can force it with the write-file-webpack-plugin.


extract-text-webpack-plugin - Extracts text from bundle into a file

  •    Javascript

Extract text from a bundle, or bundles, into a separate file. ⚠️ Since webpack v4 the extract-text-webpack-plugin should not be used for css. Use mini-css-extract-plugin instead.

sw-precache-webpack-plugin - Webpack plugin that generates a service worker using sw-precache that will cache webpack's bundles' emitted assets

  •    Javascript

SWPrecacheWebpackPlugin is a webpack plugin for using service workers to cache your external project dependencies. It will generate a service worker file using sw-precache and add it to your build directory. A simple configuration example that will work well in most production environments. Based on the configuration used in create-react-app.

compression-webpack-plugin - Prepare compressed versions of assets to serve them with Content-Encoding

  •    Javascript

Prepare compressed versions of assets to serve them with Content-Encoding

babel-minify-webpack-plugin - Babel Minify Webpack Plugin

  •    Javascript

minifyOpts are passed on to babel-preset-minify. You can find a list of all available options in the package directory.

i18n-webpack-plugin - Embed localization into your bundle

  •    Javascript

i18n (localization) plugin for Webpack. This plugin creates bundles with translations baked in. So you can serve the translated bundle to your clients.

stylelint-webpack-plugin - A webpack plugin to lint your CSS/Sass code using stylelint

  •    Javascript

This module requires a minimum of Node v6.9.0 and webpack v4.0.0. Both stylelint-loader and this module have their uses. stylelint-loader lints the files you require (or the ones you define as an entry in your webpack config). However, @imports in files are not followed, meaning only the main file for each require/entry is linted.

babel-engine-plugin - Webpack plugin that transpiles dependencies targeting Node

  •    Javascript

Within your webpack configuration object, you'll need to add the babel-engine-plugin to the list of plugins.Module maintainers often only target Node.js and don't really care about browser support. Tools like Webpack allow you to easily bundle these modules and run them in the browser. But since Node.js 0.12 became deprecated, module maintainers started to leverage the new ES2016 features, for example fat-arrow functions. This becomes a problem because not all of these features are supported in the browser. Tools like UglifyJS doesn't like them either as it will fail with an Unexpected Token error.

add-module-exports-webpack-plugin - Add `module.exports` for Babel and TypeScript compiled code

  •    Javascript

When you use ES2015 modules with Babel or have a default export in TypeScript, they generate code which requires you to import it with require('x').default in CommonJS instead of require('x'). This plugin enables the latter.

node-env-webpack-plugin - Simplified `NODE_ENV` handling with webpack

  •    Javascript

Sets process.env.NODE_ENV in the Node.js process to development at import-time if it's not defined, or production if webpack is run with webpack -p.Sets process.env.NODE_ENV in the bundle to the same as in the Node.js process.

webpack-watchman-plugin - A webpack plugin that integrates watchman as its watcher.

  •    Javascript

This plugin was tested with webpack 1, 2 and 3 and watchman 4.5+. Make sure watchman is installed and ready to use on your system.

event-hooks-webpack-plugin - Event hooks plugin for Webpack

  •    Javascript

This webpack plugin is similar to webpack-shell-plugin but this allows you to execute arbitrary JavaScript instead of commands on any event hook that is exposed by the Webpack compiler. Compatibility Version ^2.0.0 of this plugin is compatible with webpack ^4.0.0. If you're using an older version of webpack, make sure to install the ^1.0.0 (npm install event-hooks-webpack-plugin@^1.0.0) release of this plugin.