<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sota1235</author_name>
  <author_url>https://blog.hatena.ne.jp/sota1235/</author_url>
  <blog_title>はらへり日記</blog_title>
  <blog_url>https://sota1235.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>前提 Babel6系でES2015のJSをBrowserifyを使用してコンパイルします。 願い JSをコンパイルする際、Ajax通信で使用するURIを開発と本番で分けたい場面がありました。 なので以下の様なことがしたい。 let uriPrefix = '/api'; if (process.env.APP_ENV === 'production') { uriPrefix = '/api/production'; } export const apiUri = `${uriPrefix}/get/sushi`; ただ、普通にやると process.env.APP_ENVなんてブラウザに存在…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsota1235.hatenablog.com%2Fentry%2F2016%2F03%2F24%2F145941&quot; title=&quot;Babel + Browserifyで環境変数を使用する - はらへり日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-24 14:59:41</published>
  <title>Babel + Browserifyで環境変数を使用する</title>
  <type>rich</type>
  <url>https://sota1235.hatenablog.com/entry/2016/03/24/145941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
