Using components without node_modules and dist folders.
Let' s assume that I import LoginPage component from scope to project.
Folder structure look like this after import :
--LoginPage
--dist
--index.js
--node_modules
--package.json
陌s there any way to use imported components without including node_modules and dist in LoginPage folder ?
Should I have to delete the node_modules and dist manually every time if I don't want to have it in LoginPage folder ?
there are a few flags you should use to do just that:
bit import <component id> --skip-npm-install --ignore-dist
Most helpful comment
there are a few flags you should use to do just that:
bit import <component id> --skip-npm-install --ignore-dist