2023-02-21 20:37:44 +00:00
|
|
|
const { config } = require("@netlify/remix-edge-adapter");
|
2023-02-20 20:41:29 +00:00
|
|
|
/** @type {import('@remix-run/dev').AppConfig} */
|
|
|
|
|
module.exports = {
|
2023-02-23 15:37:25 +00:00
|
|
|
...(process.env.NETLIFY || process.env.NETLIFY_LOCAL ? config : {}),
|
2023-02-20 20:41:29 +00:00
|
|
|
appDirectory: "src",
|
|
|
|
|
future: {
|
|
|
|
|
unstable_postcss: true,
|
|
|
|
|
},
|
2023-02-20 21:25:57 +00:00
|
|
|
ignoredRouteFiles: ["**/.*"],
|
|
|
|
|
server:
|
|
|
|
|
process.env.NETLIFY || process.env.NETLIFY_LOCAL
|
|
|
|
|
? "./server.js"
|
|
|
|
|
: undefined,
|
2023-02-21 20:37:44 +00:00
|
|
|
// serverBuildPath: ".netlify/functions-internal/server.js",
|
2023-02-20 20:41:29 +00:00
|
|
|
};
|