Akryum / meteor-vite

MIT License
33 stars 16 forks source link

Unexpected token '*': `export * from` is not working in packages #27

Closed red-meadow closed 10 months ago

red-meadow commented 1 year ago

In packages, export * from 'xxx' syntax is working for re-exports from other meteor packages but not from the files.

How to reproduce

  1. In test-modules/index.js, in example project, replace export { default as ReExportedDefault, other, subOther } from './other' with export * from './other'
  2. Check the console (screenshot below).

image

NOTE: export * from 'meteor/tracker' line is processed correctly.

Probably related to #26 and #21.