Created
April 22, 2020 10:12
-
-
Save janniks/f2c2eb49edfebce7d9f3e77ef7e0a1f4 to your computer and use it in GitHub Desktop.
04 - A Better Way to Import Local Node.js Modules - An Article
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
const randomRelative = require('../../../../../somewhere/deep/and/random') | |
// Using 'basetag' becomes... | |
const randomBasetag = require('$/somewhere/deep/and/random') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment