Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 952 Bytes

v2-remove-auto-globals-install.md

File metadata and controls

27 lines (21 loc) · 952 Bytes
@remix-run/architect @remix-run/express @remix-run/netlify @remix-run/node @remix-run/serve @remix-run/vercel
major
major
major
major
major
major

For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server. If you are using remix-serve, nothing is required. If you are using your own app server, you will need to install the globals yourself.

import { installGlobals } from "@remix-run/node";

installGlobals();

source-map-support is now a responsibility of the app server. If you are using remix-serve, nothing is required. If you are using your own app server, you will need to install source-map-support yourself.

npm i source-map-support
import sourceMapSupport from "source-map-support";
sourceMapSupport.install();