Skip to content

Commit

Permalink
chore: install source-map-support (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Aug 2, 2023
1 parent 19f31b0 commit c99436f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"prom-client": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"source-map-support": "^0.5.21",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
Expand All @@ -64,6 +65,7 @@
"@types/node": "^18.16.18",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@types/source-map-support": "^0.5.6",
"@vitejs/plugin-react": "^4.0.1",
"@vitest/coverage-v8": "^0.32.2",
"autoprefixer": "^10.4.14",
Expand Down
5 changes: 5 additions & 0 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ import path from "path";

import prom from "@isaacs/express-prometheus-middleware";
import { createRequestHandler } from "@remix-run/express";
import { installGlobals } from "@remix-run/node";
import compression from "compression";
import express from "express";
import morgan from "morgan";
import sourceMapSupport from "source-map-support";

sourceMapSupport.install();
installGlobals();

const app = express();
const metricsApp = express();
Expand Down

0 comments on commit c99436f

Please sign in to comment.