<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dackdive</author_name>
  <author_url>https://blog.hatena.ne.jp/dackdive/</author_url>
  <blog_title>dackdive's blog</blog_title>
  <blog_url>https://dackdive.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに タイトルの通り。 gulp タスクに .env のようなファイルで定義した環境変数を渡したくて、 gulp-env と node-env-file を比較した。 結論としては node-env-file の方が使い勝手が良かった。 それぞれの使い方 node-env-file // gulpfile.js var gulp = require('gulp'); var env = require('node-env-file'); env('.env'); gulp.task('default', function() { console.log(process.env.FOO); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdackdive.hateblo.jp%2Fentry%2F2017%2F01%2F30%2F100000&quot; title=&quot;gulpタスクに.envで定義した環境変数を渡すならgulp-envでなくnode-env-fileを使う - dackdive&amp;#39;s blog&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>2017-01-30 10:00:00</published>
  <title>gulpタスクに.envで定義した環境変数を渡すならgulp-envでなくnode-env-fileを使う</title>
  <type>rich</type>
  <url>https://dackdive.hateblo.jp/entry/2017/01/30/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
