Skip to content

Instantly share code, notes, and snippets.

@hi-ogawa
Last active November 14, 2023 04:23
Show Gist options
  • Save hi-ogawa/70645e71768a8ce073e45aad152412d6 to your computer and use it in GitHub Desktop.
Save hi-ogawa/70645e71768a8ce073e45aad152412d6 to your computer and use it in GitHub Desktop.
remix development tips

stackblitzs

integration test

# single test file only on chromium
yarn test:integration -- integration/vite-dev-express-test.ts --headed --project chromium

yalc

use locally built package in app

# in remix repo
yarn build --tsc
cd build/node_modules/@remix-run/dev
yalc publish

# in app repo
yalc add @remix-run/dev
pnpm i

# TODO
# for some reason, it fails on initial dev.
# restarting server seems to fix it.
pnpm dev

references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment