Skip to content

Commit 2065e58

Browse files
committed
meta
1 parent b67771c commit 2065e58

File tree

3 files changed

+560
-2453
lines changed

3 files changed

+560
-2453
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
This is a fork of [preload-webpack-plugin](https://github.com/GoogleChromeLabs/preload-webpack-plugin) with a few additions for multi-entry-page webpack setups:
2+
3+
- `include` option can be an object in the shape of `{ type?, chunks?, entries? }`. For example, to prefetch async chunks for a specific entry point:
4+
5+
``` js
6+
{
7+
rel: 'prefetch',
8+
include: {
9+
type: 'asyncChunks',
10+
entries: ['app']
11+
}
12+
}
13+
```
14+
15+
- Added an `includeHtmlNames` option so that the plugin is only applied to a specific HTML file.
16+
17+
- Drops support for Node < 6.
18+
19+
---
20+
121
preload-webpack-plugin
222
============
323
[![NPM version][npm-img]][npm-url]

0 commit comments

Comments
 (0)