Skip to content

Commit

Permalink
Apply correct layer
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed May 15, 2022
1 parent 05f75a3 commit 02948d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/next/build/entries.ts
Expand Up @@ -313,7 +313,10 @@ export function getViewsEntry(opts: {
viewsDir: string
pageExtensions: string[]
}) {
return `next-view-loader?${stringify(opts)}!`
return {
import: `next-view-loader?${stringify(opts)}!`,
layer: 'sc_server',
}
}

export function getServerlessEntry(opts: {
Expand Down

0 comments on commit 02948d6

Please sign in to comment.