umijs / cra-v5-with-mfsu-example

create-react-app v5 与 mfsu 一起使用的例子
11 stars 3 forks source link

Can't compile successfully when buildDepWithESBuild option is false! #1

Open changhuali opened 1 year ago

changhuali commented 1 year ago

Maybe i should add depConfig to make it work.

fz6m commented 1 year ago

Currently only buildDepWithESBuild : true is supported

changhuali commented 1 year ago

Currently only buildDepWithESBuild : true is supported

Yea, but build deps with esbuild, i found that only several props in depBuildConfig were passed to esbuild.build api, if i want to customize loader for esbuild, there is no way to get it done. @see umijs/umi/packages/bundler-esbuild/src/build.ts