From 94db77c56f4362bbaf4c59c0bf7643deb0f4a8e9 Mon Sep 17 00:00:00 2001 From: xiaokang pu Date: Fri, 1 Jun 2018 21:43:11 +0800 Subject: [PATCH] upgrade tips --- README.md | 2 ++ package-lock.json | 2 +- package.json | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c3fe02..cfc9078 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This extension plugin embeds `` 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. diff --git a/package-lock.json b/package-lock.json index 9d7c8e5..3af61ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "html-webpack-preconnect-plugin", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 02453af..40c8261 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "html-webpack-preconnect-plugin", - "version": "1.0.3", + "version": "1.0.4", "description": "Embed into HtmlWebpackPlugin pages", "main": "index.js", "scripts": { @@ -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" } }