rollup-plugin-export-default

rollup-plugin-export-default

Releases3
Frequency13 hours
Last Release
This is a Rollup plugin which will export all named exports as `default` if no `default` export is specified. This makes it easy to do `import pkg from 'pkg'` rather than `import * as pkg from 'pkg'`, while still allowing named imports like `import { myNa