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
Example (here I want to export everything from one or merge more files, then set a default export):
// filename is: ./file/index.jsexport*from'./file';// this contains export const file = ...export*from'./anotherfile';export{fileasdefault}from'./file';// filename is ./main.jsimportfilefrom'./file';// import from directory file, resolving to ./file/index.js/* Line above gives warn/error: Using exported name 'file' as identifier for default export.eslint(import/no-named-as-default)*/