docusaurus/assets/js/9f70a9f9.6dc3282e.js

1 line
No EOL
2.6 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[31438],{92932:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var o=n(24246),s=n(71670);const a={mdx:{format:"md"},date:"2019-10-22T20:00"},r="2.0.0-alpha.30",c={permalink:"/changelog/2.0.0-alpha.30",source:"@site/changelog/source/2.0.0-alpha.30.md",title:"2.0.0-alpha.30",description:"- Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug TypeError: Cannot assign to read only property 'exports' of object '#'.(#1868)",date:"2019-10-22T20:00:00.000Z",tags:[],hasTruncateMarker:!0,authors:[],frontMatter:{mdx:{format:"md"},date:"2019-10-22T20:00"},unlisted:!1,prevItem:{title:"2.0.0-alpha.31",permalink:"/changelog/2.0.0-alpha.31"},nextItem:{title:"2.0.0-alpha.29",permalink:"/changelog/2.0.0-alpha.29"},listPageLink:"/changelog/page/5"},i={authorsImageUrls:[]},l=[];function u(e){const t={a:"a",code:"code",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:["Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug ",(0,o.jsx)(t.code,{children:"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"}),".(",(0,o.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/pull/1868",children:"#1868"}),")"]}),"\n"]}),"\n",(0,o.jsxs)(t.p,{children:["If you are still encountering the error. Please check whether you use ",(0,o.jsx)(t.code,{children:"module.exports"})," for your ",(0,o.jsx)(t.code,{children:".js"})," file instead of doing ",(0,o.jsx)(t.code,{children:"export"})," (mixing CJS and ES). See ",(0,o.jsx)(t.a,{href:"https://github.com/webpack/webpack/issues/4039#issuecomment-477779322",children:"https://github.com/webpack/webpack/issues/4039#issuecomment-477779322"})," and ",(0,o.jsx)(t.a,{href:"https://github.com/webpack/webpack/issues/4039#issuecomment-273804003",children:"https://github.com/webpack/webpack/issues/4039#issuecomment-273804003"})," for more context."]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},71670:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>r});var o=n(27378);const s={},a=o.createContext(s);function r(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]);