File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev
packages/remix/src/utils/serverAdapters Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ module.exports = {
70
70
71
71
// Node
72
72
{
73
- files : [ '.eslintrc.cjs ' , 'server.js ' ] ,
73
+ files : [ '.eslintrc.js ' , 'server.mjs ' ] ,
74
74
env : {
75
75
node : true ,
76
76
} ,
Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ function wrapGetLoadContext(origGetLoadContext: () => AppLoadContext): GetLoadCo
96
96
}
97
97
98
98
// A wrapper around build if it's a Promise or a function that returns a Promise that calls instrumentServer on the resolved value
99
- // This is currently only required for development mode with HM
100
-
99
+ // This is currently only required for Vite development mode with HMR
101
100
function wrapBuild (
102
101
build : ServerBuild | Promise < ServerBuild > | ( ( ) => Promise < ServerBuild > | ServerBuild ) ,
103
102
) : ServerBuild | Promise < ServerBuild > {
You can’t perform that action at this time.
0 commit comments