<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>JavaScript</anon>
    <anon>Tips</anon>
  </categories>
  <description>create-react-app で作った React アプリで yarn start での開発時と yarn build でビルドした時に使う環境変数を切り替えたい。 .env のファイル名で自動的に切り替わる create-react-app で作られたファイルにある .gitignore を見ると次のように設定されていました。 # misc .DS_Store .env.local .env.development.local .env.test.local .env.production.local どうやら次のように読み込まれる設定になっており、より細かい指定のファイルが有ればそちら…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F10%2F14%2F083000&quot; title=&quot;React create-react-app したアプリで 開発時 (development) と build する時 (production) とで env を切り替えたい - かもメモ&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://m.media-amazon.com/images/I/51Hq7xniEfL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-14 08:30:00</published>
  <title>React create-react-app したアプリで 開発時 (development) と build する時 (production) とで env を切り替えたい</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2020/10/14/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
