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'
1111
1212export const getPageResolver = async ( { publish, target } : { publish : string ; target : string } ) => {
1313 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' )
1515
16- const pages = await glob ( '**/*.js' , {
16+ const pages = await glob ( '{pages,app}/ **/*.js' , {
1717 cwd : root ,
1818 dot : true ,
1919 } )
You can’t perform that action at this time.
0 commit comments