I'm using babel-env with vscode and yarn workspaces and when I'm loading a package (after compiling).
I don't get any suggestion for imports autocomplete..
My project structure:
|--packages
| |--common
| |--src
| |--dist
| |--.babelrc
| |--server
| |--src
| |--dist
| |--.babelrc
| |--web(create-react-app default settings)
babelrc setting:
{
"presets": ["@babel/preset-env"]
}
build command:
rm -rf dist && babel ./src --out-dir dist --copy-files
example of import usage:
import { validation, functions } from "@project/common";
Then when I'm typing for exmaple validation.inputs
I'm not getting any suggestions..
Maybe I need to ad some babel extensions, I searched in the docs but found nothing.
Thanks for helping