docusaurus/assets/js/9f70a9f9.591cd70b.js
2024-08-23 16:47:58 +00:00

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:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>r,metadata:()=>i,toc:()=>l});var o=n(24246),a=n(71670);let r={mdx:{format:"md"},date:"2019-10-22T20:00"},s="2.0.0-alpha.30",i={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"},c={authorsImageUrls:[]},l=[];function u(e){let t={a:"a",code:"code",li:"li",p:"p",ul:"ul",...(0,a.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={}){let{wrapper:t}={...(0,a.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:()=>i,a:()=>s});var o=n(27378);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)}}}]);