aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-04-13 22:10:09 +0200
committerGitHub <noreply@github.com>2021-04-13 22:10:09 +0200
commit345cd22e5664655ed315958ed2056610607c12ef (patch)
treecec8d9c0564b097b0028ced709e5f4413c1349eb
parenta684e6ba836f7c553968d7d026ed7941e1a612d8 (diff)
downloadjquery-345cd22e5664655ed315958ed2056610607c12ef.tar.gz
jquery-345cd22e5664655ed315958ed2056610607c12ef.zip
Build: Take core-js-bundle from the external directory as well
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
-rw-r--r--Gruntfile.js3
-rw-r--r--test/data/core/jquery-iterability-transpiled.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4afbec921..fc35a843a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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",
diff --git a/test/data/core/jquery-iterability-transpiled.html b/test/data/core/jquery-iterability-transpiled.html
index ca0e88530..0a7362974 100644
--- a/test/data/core/jquery-iterability-transpiled.html
+++ b/test/data/core/jquery-iterability-transpiled.html
@@ -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>