mirror of
https://github.com/sasjs/server.git
synced 2026-01-07 06:30:06 +00:00
feat(api-utility): create getWebBuildFolderPath utility
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import path from 'path'
|
||||
import { getRealPath, generateTimestamp } from '@sasjs/utils'
|
||||
import { getRealPath } from '@sasjs/utils'
|
||||
|
||||
export const getWebBuildFolderPath = () =>
|
||||
getRealPath(path.join(__dirname, '..', '..', '..', 'web', 'build'))
|
||||
|
||||
export const getTmpFolderPath = () =>
|
||||
getRealPath(path.join(__dirname, '..', '..', 'tmp'))
|
||||
|
||||
Reference in New Issue
Block a user