preload-webpack-plugin icon indicating copy to clipboard operation
preload-webpack-plugin copied to clipboard

Please use https://github.com/vuejs/preload-webpack-plugin instead.

Results 59 preload-webpack-plugin issues
Sort by recently updated
recently updated
newest added

This check https://github.com/GoogleChromeLabs/preload-webpack-plugin/blob/master/src/index.js#L118 breaks when the plugin is used with Expo that extends `HtmlWebpackPlugin` class into `ExpoHtmlWebpackPlugin`. Is there a better way to find the plugin instance?

preload not worked as expected

[{"_id":"634740e6b918e158f31610ea","body":"This is more of a question then a bug which is discussed here: #55. I opened a pull request in your project with the suggested changes.\r\n\r\nFor reference to anyone landing on this thread, if you want to use preload for something that is resolved using file-loader. You should include `allAssets`.\r\n\r\n```javascript\r\n new PreloadWebpackPlugin({\r\n rel: 'preload',\r\n include: 'allAssets'\r\n }),\r\n```\r\n","issue_id":1660458738701,"origin_id":459070800,"user_origin_id":7502104,"create_time":1548875576,"update_time":1548875576,"id":1665614054806,"updated_at":"2022-10-12T22:34:14.806000Z","created_at":"2022-10-12T22:34:14.806000Z"}] comment

I'm using the beta, so that fixed my `cb is not a function` problem, but now nothing will append. [](https://imgur.com/Zyv3pqx.jpg) I've tried putting it after the `HtmlWebpackPlugin` and after the...

Can I use this plugin with Webpack 3.12 ?

Hi, I just notice that the links injected to the head have always the same ?ver=1234 Seems doesn't randomize the version or the hash on every build? for instance,?ver=5e013ced is...

Adding "searchByChunkId" option

[{"_id":"63473d1a6a9f94608c5a01b0","body":"We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA ([login here](https:\/\/cla.developers.google.com\/) to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.\nIn order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.\n\n\u2139\ufe0f **Googlers: [Go here](https:\/\/goto.google.com\/prinfo\/https%3A%2F%2Fgithub.com%2FGoogleChromeLabs%2Fpreload-webpack-plugin%2Fpull%2F92) for more info**.\n\n<!-- need_author_cla -->","issue_id":1660458738710,"origin_id":474335409,"user_origin_id":5384588,"create_time":1552997290,"update_time":1552997290,"id":1665613082157,"updated_at":"2022-10-12T22:18:02.157000Z","created_at":"2022-10-12T22:18:02.157000Z"},{"_id":"63473d1a6a9f94608c5a01b1","body":"@jeffposnick i signed the CLA for my github account, do i need to do something else","issue_id":1660458738710,"origin_id":496527019,"user_origin_id":11337615,"create_time":1559051725,"update_time":1559051725,"id":1665613082162,"updated_at":"2022-10-12T22:18:02.161000Z","created_at":"2022-10-12T22:18:02.161000Z"}] comment

As i commented in #91, the plugin currently checks only `chunk.name` when using `include` option, this pull request make possible to search by chunk id, so we can preload chunks...

The plugin pick the link up to place before __ . In order to load faster, i hope that it can insert the plact after __ ,or give a placeholder....

The plugin could check both `chunk.name` and `chunk.id` to determine if the chunk will be preloaded. I'm trying to use the plugin with `webpack.NamedChunksPlugin` (which sets only the `chunk.id`) and...

We don't generate full HTML page in our setup. We generate a HTML snippet then they are included as part of backend output (for some legacy reasons). This PR adds...

Mind if I submit a function to validate the rel option in the plugin constructor? For values allowed by the spec but not supported by the plugin (e.g. `preconnect`) it...