mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 12:47:14 +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([[28006],{97698:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>p,frontMatter:()=>a,metadata:()=>o,toc:()=>l});var o=n(87379),r=n(62540),s=n(43023);let a={mdx:{format:"md"},date:"2019-10-22T20:00"},i="2.0.0-alpha.30",c={authorsImageUrls:[]},l=[];function u(e){let t={a:"a",code:"code",li:"li",p:"p",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ul,{children:["\n",(0,r.jsxs)(t.li,{children:["Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug ",(0,r.jsx)(t.code,{children:"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"}),".(",(0,r.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/pull/1868",children:"#1868"}),")"]}),"\n"]}),"\n",(0,r.jsxs)(t.p,{children:["If you are still encountering the error. Please check whether you use ",(0,r.jsx)(t.code,{children:"module.exports"})," for your ",(0,r.jsx)(t.code,{children:".js"})," file instead of doing ",(0,r.jsx)(t.code,{children:"export"})," (mixing CJS and ES). See ",(0,r.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,r.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={}){let{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},43023:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>i});var o=n(63696);let r={},s=o.createContext(r);function a(e){let t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:t},e.children)}},87379:e=>{e.exports=JSON.parse('{"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":true,"authors":[],"frontMatter":{"mdx":{"format":"md"},"date":"2019-10-22T20:00"},"unlisted":false,"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"}')}}]); |