Skip to content

Instantly share code, notes, and snippets.

@hamzamu
Created April 22, 2021 08:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Meteor Working directory Absolute Path*
import * as path from 'path';
var absoluteBasePath = path.resolve(process.cwd(), '../../../../../');
var absoluteBasePath = path.resolve(process.cwd()).split(path.sep + '.meteor')[0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment