Skip to content

Instantly share code, notes, and snippets.

@KoryNunn
Created June 13, 2018 00:28
Show Gist options
  • Save KoryNunn/55d1ddacd0999756de14d131c51e0857 to your computer and use it in GitHub Desktop.
Save KoryNunn/55d1ddacd0999756de14d131c51e0857 to your computer and use it in GitHub Desktop.
Reference modules by root path in node
"scripts": {
"linkClient": "mkdir -p ./client/node_modules/ && ln -s ../ ./client/node_modules/^",
"linkServer": "mkdir -p ./server/node_modules/ && ln -s ../ ./server/node_modules/^",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment