Skip to content

Commit

Permalink
add nativeFetch
Browse files Browse the repository at this point in the history
  • Loading branch information
michenly committed May 22, 2024
1 parent 06acc07 commit 87f3162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/skeleton/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ import {defineConfig} from 'vite';
import {hydrogen} from '@shopify/hydrogen/vite';
import {oxygen} from '@shopify/mini-oxygen/vite';
import {vitePlugin as remix} from '@remix-run/dev';
import {installGlobals} from '@remix-run/node';
import tsconfigPaths from 'vite-tsconfig-paths';

installGlobals({nativeFetch: true});

export default defineConfig({
plugins: [
hydrogen(),
Expand Down

0 comments on commit 87f3162

Please sign in to comment.