auto-install
auto-install copied to clipboard
Can't parse should not imply removing package
Hi and thank you for this little tool.
I was trying it and encounter an issue with the following message :
Could not parse src/app.js. There is a syntax error in file
It's a bit weird that just after throwing this error, auto-install removes all depedencies in the package.json.
I was not expecting that.
Thanks
That sounds terrible!
This can be solved by keeping a map of dependencies and files. My naive approach flattens that right now.
Would you like to submit a pull request?