@knighted/jsx 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -107,8 +107,7 @@ export default {
107
107
  {
108
108
  loader: '@knighted/jsx/loader',
109
109
  options: {
110
- // Both optional: restrict or rename the tagged templates.
111
- // tag: 'jsx', // single-tag option
110
+ // Optional: restrict or rename the tagged templates.
112
111
  // tags: ['jsx', 'reactJsx'],
113
112
  },
114
113
  },
@@ -119,7 +118,7 @@ export default {
119
118
  }
120
119
  ```
121
120
 
122
- Pair the loader with your existing TypeScript/JSX transpiler (SWC, Babel, Rspack’s builtin loader, etc.) so regular React components and the tagged templates can live side by side. The demo fixture under `test/fixtures/rspack-app` shows a full setup that mixes Lit and React:
121
+ Pair the loader with your existing TypeScript/JSX transpiler (SWC, Babel, Rspack’s builtin loader, etc.) so regular React components and the tagged templates can live side by side. The demo fixture under `test/fixtures/rspack-app` shows a full setup that mixes Lit and React, and there is also a standalone walkthrough at [morganney/jsx-loader-demo](https://github.com/morganney/jsx-loader-demo):
123
122
 
124
123
  ```sh
125
124
  npm run build
@@ -350,7 +349,7 @@ npm run test:e2e
350
349
  ```
351
350
 
352
351
  > [!NOTE]
353
- > The e2e script builds the library, installs the WASM parser binding, bundles the loader fixture, and then runs `playwright test`. Make sure Playwright browsers are installed locally (`npx playwright install`).
352
+ > The e2e script builds the library, installs the WASM parser binding, bundles the loader fixture, and then runs `playwright test`. Make sure Playwright browsers are installed locally (`npx playwright install --with-deps chromium`).
354
353
 
355
354
  ## Browser demo / Vite build
356
355
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knighted/jsx",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Runtime JSX tagged template that renders DOM or React trees anywhere without a build step.",
5
5
  "keywords": [
6
6
  "jsx runtime",