Created
August 13, 2018 22:52
-
-
Save evantahler/41d97f2938f2017ffec4965431906069 to your computer and use it in GitHub Desktop.
require-shim.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
// in your action | |
{formatter} = requrie('../helper.js') | |
// in helper.js | |
const path = require('path') | |
exports.formatter = require(path.join(__dirname, 'path', 'that', 'is', 'really', 'long', 'formatter.js')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment