Переглянути джерело

Merge pull request #9651 from jasongrout/compileerror

Upgrade html-webpack-plugin to support webpack 5
Steven Silvester 4 роки тому
батько
коміт
09ebc19479
2 змінених файлів з 14 додано та 2 видалено
  1. 1 1
      dev_mode/package.json
  2. 13 1
      yarn.lock

+ 1 - 1
dev_mode/package.json

@@ -174,7 +174,7 @@
     "glob": "~7.1.6",
     "handlebars": "^4.5.3",
     "html-loader": "~1.3.0",
-    "html-webpack-plugin": "~4.3.0",
+    "html-webpack-plugin": "^5.0.0-beta.6",
     "mini-css-extract-plugin": "~1.3.2",
     "raw-loader": "~4.0.0",
     "rimraf": "~3.0.0",

+ 13 - 1
yarn.lock

@@ -8580,7 +8580,7 @@ html-minifier@^3.5.8:
     relateurl "0.2.x"
     uglify-js "3.4.x"
 
-html-webpack-plugin@^4.2.1, html-webpack-plugin@~4.3.0:
+html-webpack-plugin@^4.2.1:
   version "4.3.0"
   resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-4.3.0.tgz#53bf8f6d696c4637d5b656d3d9863d89ce8174fd"
   integrity sha512-C0fzKN8yQoVLTelcJxZfJCE+aAvQiY2VUf3UuKrR4a9k5UMWYOtpDLsaXwATbcVCnI05hUS7L9ULQHWLZhyi3w==
@@ -8595,6 +8595,18 @@ html-webpack-plugin@^4.2.1, html-webpack-plugin@~4.3.0:
     tapable "^1.1.3"
     util.promisify "1.0.0"
 
+html-webpack-plugin@^5.0.0-beta.6:
+  version "5.0.0-beta.6"
+  resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.0.0-beta.6.tgz#aab868a3c1607828699ebbbb44cde9d6f3615cb3"
+  integrity sha512-wjdhOnJlo5c8uN3OahRm2eaLKL8gEQ4ZNOkwQc8BStyudpFLTsg28m6wbf00keXiRPesk2Pad9CYeKpxbffApg==
+  dependencies:
+    "@types/html-minifier-terser" "^5.0.0"
+    html-minifier-terser "^5.0.1"
+    loader-utils "^2.0.0"
+    lodash "^4.17.20"
+    pretty-error "^2.1.1"
+    tapable "^2.0.0"
+
 htmlparser2@^3.3.0:
   version "3.10.1"
   resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"