mirror of
https://github.com/hanzoai/workbox.git
synced 2026-09-24 17:04:35 +00:00
* The contents of v3, reconciled with master. * Remove a few stray files. * Another extra file. * Two more deletions. * Setting up for stable release * v3.0.0 * Updating CDN and versions * Doc repair for wf (#1358) * Changing doc structure to work with WF * Changing doc structure to work with WF
10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
const path = require('path');
|
|
|
|
const packagesPath = path.join(__dirname, '..', '..', 'packages');
|
|
|
|
// A helper method that should be used when you want to log
|
|
// the package name ONLY.
|
|
module.exports = (pkgPath) => {
|
|
return path.relative(packagesPath, pkgPath);
|
|
};
|