@lit-labs/ssr

v1.0.0
SSR for Lit

build

npm run clean && npm run build:ts

build:ts

tsc

build:ts:watch

tsc --watch

clean

rm -rf index.js demo/ test/ lib/ *.tsbuildinfo

demo:vm-modules

node --experimental-vm-modules ./demo/vm-modules/server.js

demo:global

node ./demo/global/server.js

test

npm run test:unit && npm run test:integration

test:integration

npm run test:integration:dev && npm run test:integration:prod

test:integration:dev

MODE=dev NODE_OPTIONS=--experimental-vm-modules wtr

test:integration:prod

MODE=prod NODE_OPTIONS=--experimental-vm-modules wtr

test:unit

node --experimental-vm-modules ./test/all-tests.js
npm i @lit-labs/[email protected]

Metadata

Downloads