-
Babel will overwrite but not delete any existing files or directories in the output directory. To be sure the lib folder doesn’t contain old files you can delete it before transpiling. To do this automatically you can install rimraf and add it to the transpile script like this:
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
You can find the code for my example on github: https://github.com/receter/my-components https://www.npmjs.com/package/@receter/my-components
-
How do you share components between your projects? What do you do differently and why? Or do you use a service like BIT? Please let me know!