8 lines
228 B
TypeScript
8 lines
228 B
TypeScript
import path from 'path'
|
|
|
|
export const buildPath = (...ps: string[]): string =>
|
|
path.join(__dirname, '../build', ...ps)
|
|
|
|
export const dstMediaPath = (...ps: string[]): string =>
|
|
path.join(__dirname, '../static/media', ...ps)
|