<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chuck0523</author_name>
  <author_url>https://blog.hatena.ne.jp/chuck0523/</author_url>
  <blog_title>コンパイラかく語りき</blog_title>
  <blog_url>https://chuckwebtips.hatenablog.com/</blog_url>
  <categories>
    <anon>webpack</anon>
    <anon>Node.js</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>webpack上でglobを使う方法について、業務で触れることがあったのでメモ。 インストール なにはともあれインストール。 $ npm init -y $ npm install webpack glob ディレクトリ構造 ディレクトリを以下のように作りました。 src/にJSファイルが格納されています。 src/common, src/pc, src/sp, それぞれにentry.jsがあり、これがバンドル対象です。 中身はこんな感じです。a.js, b.jsがモジュールになってる感じですね。 gist61f0bb07397dcedd79d8 dist/がバンドルファイルの格納先となります…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchuckwebtips.hatenablog.com%2Fentry%2F2016%2F03%2F07%2F000000&quot; title=&quot;webpack上でglobを使う - コンパイラかく語りき&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>http://cdn-ak.f.st-hatena.com/images/fotolife/c/chuck0523/20160320/20160320205110.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-07 00:00:00</published>
  <title>webpack上でglobを使う</title>
  <type>rich</type>
  <url>https://chuckwebtips.hatenablog.com/entry/2016/03/07/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
