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" } }