<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitonatsu</author_name>
  <author_url>https://blog.hatena.ne.jp/hitonatsu/</author_url>
  <blog_title>ひと夏の技術</blog_title>
  <blog_url>https://tech-1natsu.hatenablog.com/</blog_url>
  <categories>
    <anon>トラブルシューティング</anon>
    <anon>今日のハマったこと</anon>
  </categories>
  <description>前提 babel6以降 babel-plugin-transform-runtime をつかってポリフィルしている webpack2以降 自分がこういう構成なので…ほかにもなにか条件下あるかもしれない エラー内容 Cannot assign to read only property ‘exports’ of object ‘#&lt;Object&gt;’ webpackのコンパイルはちゃんと通って、ファイルも生成される。されるのだけど、そのJSファイルをブラウザで実行するとうまく動かなくて、Chromeのdevツールとかでコンソールエラーを見ると上記のようなエラーメッセージが出ている。 状況下 bab…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-1natsu.hatenablog.com%2Fentry%2F2017%2F10%2F21%2F142210&quot; title=&quot;babel+webpackな環境でESM(import構文)とCJS(module.exports構文)を混在させると『Cannot assign to read only property ‘exports’ of object ‘#&amp;lt;Object&amp;gt;’』と怒られる - ひと夏の技術&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-10-21 14:22:10</published>
  <title>babel+webpackな環境でESM(import構文)とCJS(module.exports構文)を混在させると『Cannot assign to read only property ‘exports’ of object ‘#&lt;Object&gt;’』と怒られる</title>
  <type>rich</type>
  <url>https://tech-1natsu.hatenablog.com/entry/2017/10/21/142210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
