Closed himself65 closed 10 months ago
You can use index.edge-light.ts
to have the different output, index.<special export condition>.ts
is the convention for different community standard conventions. So far we suppor development
, production
, edge-light
, react-server
, react-native
.
Worth to update the docs a bit to clarify that
You can use
index.edge-light.ts
to have the different output,index.<special export condition>.ts
is the convention for different community standard conventions. So far we suppordevelopment
,production
,edge-light
,react-server
,react-native
.Worth to update the docs a bit to clarify that
Thanks for the feedback. I will try that
https://github.com/huozhi/bunchee#multiple-runtime
for this input
bunchee will always read index.ts but output to
edge.mjs
and others output.I expect to read different inputs and generate different outputs.