Skip to content

Commit 6ad71c4

Browse files
committed
Updating package to be published in my own namespace
Vue does not seem to be maintaining their project any more.
1 parent b6995df commit 6ad71c4

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,11 @@
22
============
33
[![NPM version][npm-img]][npm-url]
44

5-
This is a fork of [preload-webpack-plugin](https://github.com/GoogleChromeLabs/preload-webpack-plugin) with a number of changes:
5+
This is a fork of [@vuejs/preload-webpack-plugin](https://github.com/vuejs/preload-webpack-plugin) with a number of changes:
66

7-
- Uses a combination of `htmlWebpackPluginBeforeHtmlProcessing` and `htmlWebpackPluginAlterAssetTags` hooks to inject links as objects rather than strings. This allows for more flexibility when the tags need to be altered by other plugins.
7+
- Fixes issue with collisions of directory separators coming from either the publicPath or the chunk file.
88

9-
- `include` option can be an object in the shape of `{ type?, chunks?, entries? }`. For example, to prefetch async chunks for a specific entry point:
10-
11-
``` js
12-
{
13-
rel: 'prefetch',
14-
include: {
15-
type: 'asyncChunks',
16-
entries: ['app']
17-
}
18-
}
19-
```
20-
21-
- Added an `includeHtmlNames` option so that the plugin is only applied to a specific HTML file.
22-
23-
- Drops support for webpack v3.
24-
25-
- Drops support for Node < 6.
9+
- Drops support for Node < 12.
2610

2711
---
2812

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
2-
"name": "@vue/preload-webpack-plugin",
2+
"name": "@twipped/preload-webpack-plugin",
33
"version": "2.0.0",
44
"description": "A webpack plugin for injecting <link rel='preload|prefecth'> into HtmlWebpackPlugin pages, with async chunk support",
5-
"author": "Addy Osmani <[email protected]> (https://github.com/addyosmani)",
5+
"author": "Jocelyn Badgley <[email protected]> (http://twipped.com)",
6+
"contributors": [
7+
"Addy Osmani <[email protected]> (https://github.com/addyosmani)"
8+
],
69
"license": "Apache-2.0",
710
"bugs": {
8-
"url": "https://github.com/vuejs/preload-webpack-plugin/issues"
11+
"url": "https://github.com/twipped/preload-webpack-plugin/issues"
912
},
10-
"homepage": "https://github.com/vuejs/preload-webpack-plugin",
13+
"homepage": "https://github.com/twipped/preload-webpack-plugin",
1114
"repository": {
1215
"type": "git",
13-
"url": "https://github.com/vuejs/preload-webpack-plugin.git"
16+
"url": "https://github.com/twipped/preload-webpack-plugin.git"
1417
},
1518
"keywords": [
1619
"webpack",
@@ -34,6 +37,9 @@
3437
"files": [
3538
"src"
3639
],
40+
"publishConfig": {
41+
"access": "public"
42+
},
3743
"devDependencies": {
3844
"eslint": "^4.19.1",
3945
"eslint-plugin-vue-libs": "^2.1.0",

0 commit comments

Comments
 (0)