diff options
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svelte.config.js b/svelte.config.js index 64109df..9c3f3fe 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -20,15 +20,6 @@ const config = { paths: { base: BASE_PATH }, - prerender: { - handleHttpError: ({ path, message }) => { - // Font files ship separately from the codebase (see static/css/app.css - // @font-face block). Tolerate missing font files during prerender so - // the build doesn't block until they land in static/fonts/. - if (path.includes('/fonts/')) return - throw new Error(message) - } - }, files: { assets: 'static', appTemplate: 'app/app.html', |
