You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new duplicate export checking is great and will allow us to remove some code from Rollup. However, it looks like it's throwing errors wrongly in cases like these:
acorn.parse(` export { x as y } from './y.js'; export { x as z } from './z.js';`,{sourceType: 'module'});// SyntaxError: Duplicate export 'x' (3:11)acorn.parse(` export { default as y } from './y.js'; export default 42;`,{sourceType: 'module'});// SyntaxError: Duplicate export 'default' (1:51)
(Also, the location in that second error message looks suspicious?) I can try and make a PR if I get time this weekend. Thanks!
The text was updated successfully, but these errors were encountered:
The new duplicate export checking is great and will allow us to remove some code from Rollup. However, it looks like it's throwing errors wrongly in cases like these:
(Also, the location in that second error message looks suspicious?) I can try and make a PR if I get time this weekend. Thanks!
The text was updated successfully, but these errors were encountered: