Here is the demo project: https://github.com/Renderz/unbuild-test
- when I run
npm run buildthennpm run test-cjs, the output shows{ a: 1 } - when I run
npm run stubthennpm run test-cjs, the output show{ default: { a: 1 } }
Here is the demo project: https://github.com/Renderz/unbuild-test
npm run build then npm run test-cjs , the output shows { a: 1 }npm run stub then npm run test-cjs, the output show { default: { a: 1 } }