UNPKG
@rec/serverless-nextjs
Version:
latest (0.3.0)
0.3.0
0.2.0
0.1.0
Deploy Serverless Next.js apps with Serverless Components
@rec/serverless-nextjs
/
utils
/
get-dot-next-directory.js
8 lines
(5 loc)
•
243 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
path =
require
(
'path'
)
const
getServerlessDirectory =
require
(
'./get-serverless-directory'
)
const
getDotNextDirectory
= (
inputs
) => path.
normalize
(path.
join
(
getServerlessDirectory
(inputs),
'..'
))
module
.
exports
= getDotNextDirectory