-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2023-06-01 Meeting Notes #51
Comments
For the record, the agenda and the details on time and link to join are at Igalia/webengineshackfest#14 |
Hello! 👋 Sorry if this is offtopic. I was Googling for "specification"-like documents related to import.meta.main. I found this GitHub issue. I'm looking for a webpage place/document kinda like how https://html.spec.whatwg.org/multipage/webappapis.html#hostgetimportmetaproperties defines import.meta.url and import.meta.resolve for the HTML environment which is then implemented in Node.js, Deno, Bun, browsers, etc. Is there such a document for import.meta.main? Does Deno define it? Or does Bun? Do they share a definition that they both implement? How does that work? How would I say "conforms to {import.meta.main spec name here}"? Would I say "conforms to Deno's import.meta.main implementation"? Best guesses:
Sorry if this is the wrong place to ask about this 😬 |
Attendees:
Agenda:
import.meta.url
,import.meta.resolve
?)import.meta.main
? Contentious in node.js because "what is main" ... can we learn lessons from deno's implimport.meta.test
?import.meta.hot
? -- hot reloading... vite using this oneimport.meta.glob
? -- glob imports... vite alsoimport.meta.env
? -- https://vitejs.dev/guide/env-and-mode.htmlimport.meta.glob
.. in vite, almost like a runtime macro that expands the glob into multiple runtime imports.Action Item:
import.meta.url
andimport.meta.resolve
to the Minimum common APIThe text was updated successfully, but these errors were encountered: