mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
16 lines
489 B
TypeScript
16 lines
489 B
TypeScript
// Import path interpreted by the Remix compiler
|
|
import * as build from "@remix-run/dev/server-build";
|
|
import { createRequestHandler } from "@netlify/remix-edge-adapter";
|
|
|
|
export default createRequestHandler({
|
|
build,
|
|
// process.env.NODE_ENV is provided by Remix at compile time
|
|
mode: process.env.NODE_ENV,
|
|
});
|
|
|
|
export const config = {
|
|
cache: "manual",
|
|
path: "/*",
|
|
// Pass all assets to the netlify asset server
|
|
excluded_patterns: ["/_assets/*", "/_shared/*", "/**/*.js"],
|
|
};
|