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
Hi! I have a very unpleasant bug with reexporting default submodule export in index files. It is a very common case for me and it works with current bundler (Webpack), but looks broken in the editor.
Steps to Reproduce:
Create submodule.js file with following content:
export default function DefaultExport () {}
export function TestExport () {}
Create index.js with reexports:
export default from './submodule1.js';
export TestExport from './submodule1.js';
VS Code highlights reexports as syntax errors and breaks "Go To Definition" logic, which is very useful.
From @ardentum on March 16, 2017 11:7
Hi! I have a very unpleasant bug with reexporting default submodule export in index files. It is a very common case for me and it works with current bundler (Webpack), but looks broken in the editor.
Steps to Reproduce:
submodule.js
file with following content:index.js
with reexports:VS Code highlights reexports as syntax errors and breaks "Go To Definition" logic, which is very useful.
Here is my jsconfig.json file:
Thanks!
Copied from original issue: microsoft/vscode#22732
The text was updated successfully, but these errors were encountered: