Closed unformalized closed 1 year ago
none
remote side:
// vite.config.ts plugins: [ federation({ name: 'demo', filename: 'remoteEntry.js', remotes: { xx: 'xxx', }, shared: { vue: {}, dayjs: {}, } }), ], // index.vue import dayjs from 'dayjs'; dayjs().format('YYYY-MM-DD');
work without problem in prod env
Typed error: dayjs is not a function in prod env
fix pr
Same issue with clsx. When this will be merged?
Versions
Reproduction
none
Steps to reproduce
remote side:
What is Expected?
work without problem in prod env
What is actually happening?
Typed error: dayjs is not a function in prod env