You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently esm property in extension! macro support syntax like:
esm = [
dir "polyfills","00_globals.js","02_init.js","_brotli.js",]
This creates a specifier like ext:<extension_name>/<dir>/<module_name>. In some cases we want to be able to explicitly set the extension for a module, @mmastrac suggests syntax like:
esm = [
dir "polyfills",
"00_globals.js",
"02_init.js",
"_brotli.js",
"foo.js" as "node:foo"
]
The text was updated successfully, but these errors were encountered:
Actually I'm not sure this is worth it, the current solution with two separate fields (esm and esm_with_specifiers) works fine and seems less confusing. Closing for now.
Currently
esm
property inextension!
macro support syntax like:This creates a specifier like
ext:<extension_name>/<dir>/<module_name>
. In some cases we want to be able to explicitly set the extension for a module, @mmastrac suggests syntax like:The text was updated successfully, but these errors were encountered: