// in app root
cd node_modules && ln -nsf ../ @app
// .gitignore
node_modules/*
!node_modules/@app
// *.js
// Before
// require('../../../models/credits')
// After
require('@app/models/credits')
Last active
September 21, 2017 10:06
-
-
Save iketiunn/1066c2b64ae11efa5821ed70ca1f2b5f to your computer and use it in GitHub Desktop.
Node and npm environment tips or snippets
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment