Akryum / meteor-vite

MIT License
34 stars 19 forks source link

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

Closed red-meadow closed 2 years ago

red-meadow commented 2 years 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