Skip to content

Instantly share code, notes, and snippets.

@hamzamu
Created April 22, 2021 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamzamu/d9426b1b2a9ef73b9f8a52dcf927fca1 to your computer and use it in GitHub Desktop.
Save hamzamu/d9426b1b2a9ef73b9f8a52dcf927fca1 to your computer and use it in GitHub Desktop.
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