mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 04:07:32 +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([["11187"],{45154:function(e,t,n){n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>p,frontMatter:()=>s,metadata:()=>o,toc:()=>l});var o=n(56805),a=n(85893),r=n(80980);let s={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,r.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsxs)(t.li,{children:["Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug ",(0,a.jsx)(t.code,{children:"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"}),".(",(0,a.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/pull/1868",children:"#1868"}),")"]}),"\n"]}),"\n",(0,a.jsxs)(t.p,{children:["If you are still encountering the error. Please check whether you use ",(0,a.jsx)(t.code,{children:"module.exports"})," for your ",(0,a.jsx)(t.code,{children:".js"})," file instead of doing ",(0,a.jsx)(t.code,{children:"export"})," (mixing CJS and ES). See ",(0,a.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,a.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,r.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},80980:function(e,t,n){n.d(t,{Z:()=>i,a:()=>s});var o=n(67294);let a={},r=o.createContext(a);function s(e){let t=o.useContext(r);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(a):e.components||a:s(e.components),o.createElement(r.Provider,{value:t},e.children)}},56805:function(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"}')}}]); |