Prerenders static HTML in a single-page application.
-
Updated
Sep 5, 2020 - JavaScript
{{ message }}
Prerenders static HTML in a single-page application.
[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.
如题,mac电脑最新版chrome跑的
A webpack plugin for injecting <link rel='preload|prefetch'> into HtmlWebpackPlugin pages, with async chunk support
Repository for webpack documentation and more!
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
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.serviHi,
When comparing real assets size to the output of your plugin I see a huge difference.
I guess it's because size-plugin show gzipped sizes...
This can be confusing or non relevant depending of the use case and it could be nice to add a column to the output. (to display both compressed and real assets size)
Or maybe just an option to choose what too show?!
Tks !!
Webpack loader for creating SVG sprites.
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
A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
Prepare compressed versions of assets to serve them with Content-Encoding
Webpack plugin that runs typescript type checker on a separate process.
A Webpack plugin to optimize \ minimize CSS assets.
A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.
CommonJS Tree Shaker plugin for WebPack
Catch errors with style
UNMAINTAINED, use https://github.com/FullHuman/purgecss-webpack-plugin
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