Skip to content

Commit

Permalink
upgrade tips
Browse files Browse the repository at this point in the history
  • Loading branch information
joaner committed Jun 1, 2018
1 parent b3d6855 commit 94db77c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This extension plugin embeds `<link rel="preconnect">` tags into HTML files generated by the [HtmlWebpackPlugin](https://github.com/jantimon/html-webpack-plugin)

**NOTE** only support webpack 3.x, currently not supported version webpack 4

## Introduction

The `preconnect` can be pre-connected api server without having to wait for javascript loading and execute request, save a little time for users.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-webpack-preconnect-plugin",
"version": "1.0.3",
"version": "1.0.4",
"description": "Embed <link rel=\"preconnect\"> into HtmlWebpackPlugin pages",
"main": "index.js",
"scripts": {
Expand All @@ -27,5 +27,9 @@
"html-webpack-plugin": "^3.2.0",
"mocha": "^5.2.0",
"webpack": "^3.12.0"
},
"peerDependencies": {
"webpack": "3.x",
"html-webpack-plugin": "^3.2.0"
}
}

0 comments on commit 94db77c

Please sign in to comment.