mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 01:47:17 +02:00
1 line
No EOL
2.7 KiB
JavaScript
1 line
No EOL
2.7 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[31438],{92932:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>r,default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var n=o(24246),s=o(71670);const a={mdx:{format:"md"},date:"2019-10-22T20:00"},r="2.0.0-alpha.30",c={permalink:"/docusaurus/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:"/docusaurus/changelog/2.0.0-alpha.31"},nextItem:{title:"2.0.0-alpha.29",permalink:"/docusaurus/changelog/2.0.0-alpha.29"},listPageLink:"/docusaurus/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,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:["Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug ",(0,n.jsx)(t.code,{children:"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"}),".(",(0,n.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/pull/1868",children:"#1868"}),")"]}),"\n"]}),"\n",(0,n.jsxs)(t.p,{children:["If you are still encountering the error. Please check whether you use ",(0,n.jsx)(t.code,{children:"module.exports"})," for your ",(0,n.jsx)(t.code,{children:".js"})," file instead of doing ",(0,n.jsx)(t.code,{children:"export"})," (mixing CJS and ES). See ",(0,n.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,n.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,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},71670:(e,t,o)=>{o.d(t,{Z:()=>c,a:()=>r});var n=o(27378);const s={},a=n.createContext(s);function r(e){const t=n.useContext(a);return n.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),n.createElement(a.Provider,{value:t},e.children)}}}]); |