]> source.dussan.org Git - jquery.git/commitdiff
Tests: Fix the core-js polyfill inclusion method
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Thu, 4 Apr 2019 21:45:57 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Apr 2019 21:45:57 +0000 (23:45 +0200)
core-js 3 no longer includes a built file in the bundle but core-js-bundle
does.

Closes gh-4342
Ref gh-4341

package.json
test/data/core/jquery-iterability-transpiled.html

index cb10ded26166a584fba65fe13a7dc2ba2aaf8bd0..f75d49905b515885d4a4ac16e6e5665b4268b561 100644 (file)
@@ -28,7 +28,7 @@
     "@babel/core": "7.4.3",
     "@babel/plugin-transform-for-of": "7.4.3",
     "commitplease": "3.2.0",
-    "core-js": "3.0.0",
+    "core-js-bundle": "3.0.0",
     "eslint-config-jquery": "1.0.1",
     "grunt": "1.0.4",
     "grunt-babel": "8.0.0",
index 69ac18252b16bf9adddc0b294550b5bdb1f06e28..ca0e88530ee3332479c0cee60c2a61c8dd6d773c 100644 (file)
@@ -3,7 +3,7 @@
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>jQuery objects transpiled iterability test page</title>
-       <script src="../../../node_modules/core-js/client/core.min.js"></script>
+       <script src="../../../node_modules/core-js-bundle/minified.js"></script>
        <script src="../../jquery.js"></script>
        <script src="../iframeTest.js"></script>
        <script src="jquery-iterability-transpiled.js"></script>