preload-webpack-plugin
preload-webpack-plugin copied to clipboard
Please use https://github.com/vuejs/preload-webpack-plugin instead.
While html-webpack-plugin has a config for generating XHTML code, this plugin, which is often used in conjunction with html-webpack-plugin produces only HTML tags. If the plugin were to generate self-closing...
See: - https://github.com/WICG/priority-hints/blob/master/EXPLAINER.md - https://github.com/WICG/priority-hints/blob/master/EXAMPLES.md I'd imagine there is some opportunity to add in support for automatically setting priorities when we can safely do so, but also allowing folks to...
This is a cool plugin, thanks to the author, But I have a question, how can I go to Preload my Chunks as needed? I hope to set the Preload...
I think it's very important to be able to exclude specific chunks from the prefetch. A common use case is a chunk handling the admin route in the web app...
Continuation of #35. If I have two chunks ("foo" and "bar)" loading one asset using file-loader each ("foo.png" and "bar.png") with an HtmlWebpackPlugin each ("foo.html" and "bar.html"), I want "foo.html"...
Toggle preload/prefetch based on chunk.initial (or a callback)
The current plugin requires that you choose between a single `rel: 'preload'` or `rel: 'prefetch'` value that applies to all of the ``s. The problem is that `rel="preload"` is appropriate...
Include + Sourcemaps not working correctly
Hi, when you are building with sourcemaps you end up with an array of files as chunk.files. There is already a PR of someone pending for this issue. The code...
Support multiple html-webpack-plugin instances
I wrote most of the html-webpack-plugin code and would ask you to adapt your plugin a little bit. Instead of string search and replace you might want to alter the...
Filtering chunks
It would be nice if preload-webpack-plugin supports filtering chunks (only include some chunks/exclude some chunks.) [like html-webpack-plugin's one](https://github.com/jantimon/html-webpack-plugin#filtering-chunks). It will be useful on some use-cases. 1. Some chunks (e.g. Admin...