Skip to content

Instantly share code, notes, and snippets.

View hsdonkin's full-sized avatar

Hugh Donkin hsdonkin

View GitHub Profile
@hsdonkin
hsdonkin / vite.config.ts
Last active February 20, 2026 17:01
Shopify app url vite plugin
import { vitePlugin as remix } from '@remix-run/dev';
import { installGlobals } from '@remix-run/node';
import { defineConfig, type UserConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';
import fs from 'fs';
import path from 'path';
installGlobals({ nativeFetch: true });
/**