Unverified Commit 48292ba7 authored by Hannes Bornö's avatar Hannes Bornö Committed by GitHub

Fix required server files for font loader manifest (#40784)

The manifest currently gets added without file extensions.
parent f16992a1
......@@ -829,9 +829,12 @@ export default async function build(
config.optimizeFonts ? path.join(serverDir, FONT_MANIFEST) : null,
BUILD_ID_FILE,
appDir ? path.join(serverDir, APP_PATHS_MANIFEST) : null,
config.experimental.fontLoaders
? path.join(serverDir, FONT_LOADER_MANIFEST)
: null,
...(config.experimental.fontLoaders
? [
path.join(SERVER_DIRECTORY, FONT_LOADER_MANIFEST + '.js'),
path.join(SERVER_DIRECTORY, FONT_LOADER_MANIFEST + '.json'),
]
: []),
]
.filter(nonNullable)
.map((file) => path.join(config.distDir, file)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment