We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5934bdf commit a8d7b66Copy full SHA for a8d7b66
Promise.js
@@ -27,8 +27,11 @@ define(["require"], function (require) {
27
} else if (typeof Promise === "function") {
28
onload(Promise);
29
} else {
30
- // use global require to allow map configuration.
31
- require(["lie/dist/lie"], function (lie) {
+ // Use absolute path to allow map configuration.
+ // Also use a variable to avoid RequireJS detection at build time so it is not included in the
32
+ // layer.
33
+ var lieId = "lie/dist/lie.min";
34
+ require([lieId], function (lie) {
35
onload(lie);
36
});
37
}
0 commit comments