create-react-app
create-react-app copied to clipboard
please alert users on symlink to external src folders
Is your proposal related to a problem?
I had a bunch of my-apps and tried to create a symlink to an external common components folder.
project->sharedcomponents project->my-app1->src->components (symlink to upper sharedcomponents) project->my-app2->src->components (symlink to upper sharedcomponents)
npm start
error text sent me to a rat hole based on classProperty not enabled
Describe the solution you'd like
maybe detecting symlinks and ending with an ERROR message with a clear text/reason why symlink to external folder won't be processed.
Describe alternatives you've considered
bit.dev seems overengineering for this, I'd love to "mount" an external folder in src somehow and without a complex apparatus of new repos / new published components etc. Another alternative would be just allow symlinks and process them seamlessly.