]> source.dussan.org Git - jquery.git/commitdiff
Build: Take core-js-bundle from the external directory as well
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 13 Apr 2021 20:10:09 +0000 (22:10 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Apr 2021 20:10:09 +0000 (22:10 +0200)
That package was missed in gh-4865 as it only broke browsers needing the
polyfill which is just IE at the moment. Thus, it broke Core tests in IE only.

Ref gh-4865
Closes gh-4870

Gruntfile.js
test/data/core/jquery-iterability-transpiled.html

index 4afbec9212cc1cd5bd82738ae01eae55b4ab6f4d..fc35a843a49f66952f204a901e31cd64097a0096 100644 (file)
@@ -77,6 +77,9 @@ module.exports = function( grunt ) {
                                        destPrefix: "external"
                                },
                                files: {
+                                       "core-js-bundle/core-js-bundle.js": "core-js-bundle/minified.js",
+                                       "core-js-bundle/LICENSE": "core-js-bundle/LICENSE",
+
                                        "npo/npo.js": "native-promise-only/lib/npo.src.js",
 
                                        "qunit/qunit.js": "qunit/qunit/qunit.js",
index ca0e88530ee3332479c0cee60c2a61c8dd6d773c..0a7362974646842ba47e0f23308281e64b427988 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-bundle/minified.js"></script>
+       <script src="../../../external/core-js-bundle/core-js-bundle.js"></script>
        <script src="../../jquery.js"></script>
        <script src="../iframeTest.js"></script>
        <script src="jquery-iterability-transpiled.js"></script>