Prerenders static HTML in a single-page application.
-
Updated
Oct 5, 2021 - JavaScript
{{ message }}
Prerenders static HTML in a single-page application.
Remove unused CSS
[DEPRECATED] Please use https://github.com/webpack-contrib/mini-css-extract-plugin Extracts text from a bundle into a separate file
See preactjs/preact-cli#1188 - <style media="print"> are currently included in critical rules, which should never be the case.
Copy files and directories with webpack
如题,mac电脑最新版chrome跑的
A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
Please use https://github.com/vuejs/preload-webpack-plugin instead.
Haven't seen this reporter anywhere, tried out alpha 27 and with workerize-loader I get this:
TypeError: this.cache.get is not a function
at /Users/nw/projects/motion/orbit/node_modules/webpack/lib/Compilation.js:2186:18
at arrayEach (/Users/nw/projects/motion/orbit/node_modules/neo-async/async.js:2405:9)
at Object.each (/Users/nw/projects/motion/orbit/node_modules/neo-async
Repository for webpack documentation and more!
A webpack plugin to remove your build folder(s) before building
I know this is specific to web workers, however I think this could be adapted to work for service workers. I was looking to create a separate plugin but the code would be mostly the same.
Looks like it scans the AST for a keyword (Worker) and generates an entry for the referenced file.
// web worker
new Worker('./foo.js', { type: 'module' })
// service worker
navigator.serviWebpack loader for creating SVG sprites.
Track compressed Webpack asset sizes over time.
Webpack plugin that runs typescript type checker on a separate process.
The issue I'm experiencing is pretty annoying.
I'm trying to optimize my first byte, by turning off compression, and gziping everything by webpack with CompressionPlugin. The issue is that it doesn't compress service-worker.js produced by sw-precache-webpack-plugin.
I understand the reason why: service-worker.js should cache all chunks produced by webpack after CompressionPlugin compress
Speed up development by automatically installing & saving dependencies with Webpack.
[deprecated] UglifyJS Plugin
Prepare compressed versions of assets to serve them with Content-Encoding
A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.
A Webpack plugin to optimize \ minimize CSS assets.
CommonJS Tree Shaker plugin for WebPack
Catch errors with style
Add a description, image, and links to the webpack-plugin topic page so that developers can more easily learn about it.
To associate your repository with the webpack-plugin topic, visit your repo's landing page and select "manage topics."
Here is an issues with detailed description: NekR/offline-plugin#77