Skip to content

Instantly share code, notes, and snippets.

@zhisme
Created January 23, 2020 15:54
Show Gist options
  • Save zhisme/740a99aa8f7aa94ba47700c868e69477 to your computer and use it in GitHub Desktop.
Save zhisme/740a99aa8f7aa94ba47700c868e69477 to your computer and use it in GitHub Desktop.
how to develop locally 3rd party library with node fucking js
#!/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