Created
January 23, 2020 15:54
-
-
Save zhisme/740a99aa8f7aa94ba47700c868e69477 to your computer and use it in GitHub Desktop.
how to develop locally 3rd party library with node fucking js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd path/to/lib | |
yarn build 2&>1 | |
cd path/to/your/project | |
rm -rf node_modules/lib_name | |
yarn add ../path/to/lib | |
yarn | |
yarn server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment