Akryum / meteor-vite

MIT License
33 stars 16 forks source link

export { default as XXX } not working in Meteor packages #7

Closed red-meadow closed 1 year ago

red-meadow commented 1 year ago

export { default as XXX } from 'yyy' syntax is not working when used in a Meteor package. It works for the code outside the packages though.

How to repoduce:

// `test:modules` - `index.js`
export { default as MyDefault } from './someFileWithDefaultExport'

// main.ts
import { MyDefault } from 'meteor/test:modules'

error