Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3400857
D5352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
580 B
Referenced Files
None
Subscribers
None
D5352.diff
View Options
diff --git a/keyserver/loader.mjs b/keyserver/loader.mjs
--- a/keyserver/loader.mjs
+++ b/keyserver/loader.mjs
@@ -1,8 +1,9 @@
// @flow
+
const localPackages = ['landing', 'lib', 'web'];
-async function resolve(specifier, context, defaultResolve) {
- const defaultResult = defaultResolve(specifier, context, defaultResolve);
+async function resolve(specifier, context, nextResolve) {
+ const defaultResult = await nextResolve(specifier, context);
// Special hack to use Babel-transpiled lib and web
if (localPackages.some(pkg => specifier.startsWith(`${pkg}/`))) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 9:13 AM (19 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611139
Default Alt Text
D5352.diff (580 B)
Attached To
Mode
D5352: [keyserver] Update loader.mjs for new version of Node
Attached
Detach File
Event Timeline
Log In to Comment