Skip to content

Commit c03349c

Browse files
committed
Fix file extensions in eslint config.
1 parent 336e556 commit c03349c

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

2 files changed

+2
-3
lines changed

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = {
7070

7171
// Node
7272
{
73-
files: ['.eslintrc.cjs', 'server.js'],
73+
files: ['.eslintrc.js', 'server.mjs'],
7474
env: {
7575
node: true,
7676
},

packages/remix/src/utils/serverAdapters/express.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ function wrapGetLoadContext(origGetLoadContext: () => AppLoadContext): GetLoadCo
9696
}
9797

9898
// 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
101100
function wrapBuild(
102101
build: ServerBuild | Promise<ServerBuild> | (() => Promise<ServerBuild> | ServerBuild),
103102
): ServerBuild | Promise<ServerBuild> {

0 commit comments

Comments
 (0)