<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hideaki Matsunami</title>
    <description>The latest articles on DEV Community by Hideaki Matsunami (@mahaker).</description>
    <link>https://dev.to/mahaker</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F843285%2Fe74b75bc-f5a1-4415-aacc-6eba9411d548.jpeg</url>
      <title>DEV Community: Hideaki Matsunami</title>
      <link>https://dev.to/mahaker</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahaker"/>
    <language>en</language>
    <item>
      <title>GoogleAppsScript with ESBuild</title>
      <dc:creator>Hideaki Matsunami</dc:creator>
      <pubDate>Thu, 07 Apr 2022 03:28:26 +0000</pubDate>
      <link>https://dev.to/mahaker/googleappsscript-with-esbuild-2o6m</link>
      <guid>https://dev.to/mahaker/googleappsscript-with-esbuild-2o6m</guid>
      <description>&lt;p&gt;日本語の記事は&lt;a href="https://qiita.com/mahaker/items/7beb8aaf357fb3c32144"&gt;こちら&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Google Apps Script does not allow import/export.&lt;br&gt;
Also, generated code by the module bundler cannot be executed (in most cases).&lt;br&gt;
The same was true for esbuild.&lt;/p&gt;

&lt;p&gt;So, I created &lt;a href="https://www.npmjs.com/package/esbuild-gas-plugin"&gt;esbuild-gas-plugin&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This plugin provides code generation using &lt;a href="https://github.com/fossamagna/gas-entry-generator"&gt;gas-entry-generator&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The generated code is executable and import/export can be used!&lt;/p&gt;

&lt;p&gt;Sample project is &lt;a href="https://github.com/mahaker/esbuild-tutorial"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Enjoy!!&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>googleappsscript</category>
    </item>
  </channel>
</rss>
