Skip to content

Commit

Permalink
chore(frontend): update server module format to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Jan 18, 2024
1 parent 6afae62 commit 827b257
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/frontend/remix.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ module.exports = {
// assetsBuildDirectory: "public/build",
// serverBuildPath: "build/index.js",
// publicPath: "/build/",
serverModuleFormat: 'cjs',
serverDependenciesToBundle: [
'@apollo/client',
'ts-invariant',
'@wry/equality',
'@wry/trie',
'zen-observable-ts',
'optimism',
'@wry/caches',
'@wry/context'
],
future: {
v2_routeConvention: true,
v2_errorBoundary: true,
Expand Down

0 comments on commit 827b257

Please sign in to comment.