File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/runtime/src/templates Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ legacy-peer-deps = true
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import { HANDLER_FUNCTION_NAME } from '../constants'
11
11
12
12
export const getPageResolver = async ( { publish, target } : { publish : string ; target : string } ) => {
13
13
const functionDir = posix . resolve ( posix . join ( '.netlify' , 'functions' , HANDLER_FUNCTION_NAME ) )
14
- const root = posix . resolve ( slash ( publish ) , target === 'server' ? 'server' : 'serverless' , 'pages' )
14
+ const root = posix . resolve ( slash ( publish ) , target === 'server' ? 'server' : 'serverless' )
15
15
16
- const pages = await glob ( '**/*.js' , {
16
+ const pages = await glob ( '{pages,app}/ **/*.js' , {
17
17
cwd : root ,
18
18
dot : true ,
19
19
} )
You can’t perform that action at this time.
0 commit comments