Liquivelte v4 is a fresh core processor experiment for compiling .liquivelte files into two coordinated outputs:
The key design rule is that Shopify Liquid remains the runtime oracle. Svelte hydration should follow Liquid loop metadata, component boundaries, and trace data instead of independently guessing scope.
The current implementation includes:
src/compiler/compileLiquivelte.tssrc/compiler/src/runtime/src/vite/plugin.tstests/.liquivelte files under tests/fixtures/docs/manual-testing.mddocs/next-implementation-plan.mdnpm install
npm test
npm run typecheck
For focused debugging:
npm test -- tests/compiler/tokenize.test.ts
npm test -- tests/compiler/compile.test.ts
npm test -- tests/vite/plugin.test.ts