es-module-lexer icon indicating copy to clipboard operation
es-module-lexer copied to clipboard

Feature request: star export reporting

Open xiefengnian opened this issue 3 years ago • 3 comments


export * from './lib/export/core';

// => imports:["./lib/export/core"] exports:[]

xiefengnian avatar Jun 24 '21 10:06 xiefengnian

Are you looking to be able to track star exports? This is a feature we could add.

guybedford avatar Jun 24 '21 12:06 guybedford

Are you looking to be able to track star exports? This is a feature we could add.

Yes, that's meant to be an export. it could be :

export * from './lib/export/core';

// => imports:["./lib/export/core"] exports:["./lib/export/core"]

xiefengnian avatar Jun 25 '21 03:06 xiefengnian

A pattern we use internally in RollupJS is *./lib/export/core as the export name. Perhaps we can take a leaf from that one.

guybedford avatar Jun 25 '21 15:06 guybedford