<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>makotot-riceball</author_name>
  <author_url>https://blog.hatena.ne.jp/makotot-riceball/</author_url>
  <blog_title>development log</blog_title>
  <blog_url>https://makotottn.hatenablog.com/</blog_url>
  <categories>
    <anon>css</anon>
    <anon>webpack</anon>
    <anon>loader</anon>
    <anon>hot module replacement</anon>
  </categories>
  <description>github.com extract-text-webpack-pluginでcssを別のファイルに出力するようにしていると、hot module replacementが使えない。 process.env.node_env !== 'production'でdevelopmentとproductionでextract-text-webpack-pluginを使い分けて、開発環境ではhot module replacement を有効にすることもできるだろうけど、css-hot-loaderを使えばこの問題を解決できる。 install yarnかnpmで入れる。 $ yarn add --d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmakotottn.hatenablog.com%2Fentry%2F2017%2F08%2F27%2F225343&quot; title=&quot;css-hot-loaderでcssファイルのhot module replacement - development log&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-08-27 22:53:43</published>
  <title>css-hot-loaderでcssファイルのhot module replacement</title>
  <type>rich</type>
  <url>https://makotottn.hatenablog.com/entry/2017/08/27/225343</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
