tree-shaking doesn't work well for UMD bundle with axios and dayjs #992
Labels
kind: support
Asking for support with something or a specific use case
problem: removed issue template
OP removed the issue template without good cause
problem: stale
Issue has not been responded to in some time
scope: upstream
Issue in upstream dependency
Current Behavior
I used tsdx to create a project A, and import axios, dayjs, and export. then I use tsdx to create project B and import some function from project A, but not using axios, dayjs. and I find axios/dayjs code in project B UMD bundle
Flow
project A
tsdx create A (select basic)
change src/index.ts
npm publish
project B
tsdx create B (select basic)
change src/index.ts
change project b tsdx.config.js
Check UMD bundle, although I did not use axios, the bundle has this part of the code
The text was updated successfully, but these errors were encountered: