Skip to content

Commit

Permalink
Build: Take core-js-bundle from the external directory as well
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgol committed Apr 13, 2021
1 parent a684e6b commit 345cd22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gruntfile.js
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/data/core/jquery-iterability-transpiled.html
Expand Up @@ -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>
Expand Down

0 comments on commit 345cd22

Please sign in to comment.