<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>horihiro</author_name>
  <author_url>https://blog.hatena.ne.jp/horihiro/</author_url>
  <blog_title>ほりひログ</blog_title>
  <blog_url>https://uncaughtexception.hatenablog.com/</blog_url>
  <categories>
    <anon>azure functions</anon>
    <anon>node.js</anon>
  </categories>
  <description>ちょっと前にLTSになったNode.js 22*1から、いくつかの条件を満たせばrequire関数でES Modulesをロードすることができるになった。 nodejs.org 一方で、Azure Functions。 Publick PreviewながらNode.js 22が動くようになった。 azure.microsoft.com なので、Azure Functions上のNode.js 22でもrequire関数でES Modulesがロードできるか試してみた。 試した関数はこのHTTPトリガー関数。 src/functions/httpTrigger1.js const { app }…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funcaughtexception.hatenablog.com%2Fentry%2F2024%2F11%2F04%2F171848&quot; title=&quot;Azure FunctionsでES modulesをrequireする - ほりひログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/horihiro/20220905/20220905172310.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-04 17:18:48</published>
  <title>Azure FunctionsでES modulesをrequireする</title>
  <type>rich</type>
  <url>https://uncaughtexception.hatenablog.com/entry/2024/11/04/171848</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
