File tree 5 files changed +6
-2
lines changed
dev-packages/e2e-tests/test-applications
create-remix-app-express-vite-dev
5 files changed +6
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 3
3
"sideEffects" : false ,
4
4
"scripts" : {
5
5
"build" : " remix vite:build" ,
6
- "dev" : " NODE_OPTIONS='--import=./instrument.server.mjs' node ./server.mjs" ,
6
+ "dev" : " node ./server.mjs" ,
7
7
"lint" : " eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint ." ,
8
8
"start" : " cross-env NODE_ENV=production node ./server.mjs" ,
9
9
"typecheck" : " tsc" ,
Original file line number Diff line number Diff line change
1
+ import './instrument.mjs' ;
2
+
1
3
import { createRequestHandler } from '@remix-run/express' ;
2
4
import { installGlobals } from '@remix-run/node' ;
3
5
import compression from 'compression' ;
Original file line number Diff line number Diff line change 6
6
"build" : " remix vite:build" ,
7
7
"dev" : " node ./server.mjs" ,
8
8
"lint" : " eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint ." ,
9
- "start" : " cross-env NODE_ENV=production node --require='./instrument.cjs' ./server.mjs" ,
9
+ "start" : " cross-env NODE_ENV=production node ./server.mjs" ,
10
10
"typecheck" : " tsc" ,
11
11
"clean" : " npx rimraf node_modules pnpm-lock.yaml" ,
12
12
"test:build" : " pnpm install && npx playwright install && pnpm build" ,
Original file line number Diff line number Diff line change
1
+ import './instrument.cjs' ;
2
+
1
3
import { createRequestHandler } from '@remix-run/express' ;
2
4
import { installGlobals } from '@remix-run/node' ;
3
5
import compression from 'compression' ;
You can’t perform that action at this time.
0 commit comments