@antha/web-test-runner-plugin-pixi 0.1.0 → 0.1.2

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 +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @antha/web-test-runner-plugin-pixi
2
2
 
3
- A plugin for [web-test-runner](https://modern-web.dev/docs/test-runner/overview/) that transforms pixi.js imports to be compatible with browsers.
3
+ This package provides a web-test-runner plugin that resolves direct `pixi.js` imports to PixiJS's browser-compatible bundle. Use it when browser tests that import PixiJS and use web-test-runner.
4
4
 
5
5
  ## Install
6
6
 
@@ -14,7 +14,9 @@ Make sure all your `pixi.js` imports are directly from `pixi.js` (like `import {
14
14
 
15
15
  Add the following to your web-test-runner config:
16
16
 
17
- ```ts
17
+ <!-- example-link: src/readme-examples/configuring-pixi-plugin.example.ts -->
18
+
19
+ ```TypeScript
18
20
  import {pixiPlugin} from '@antha/web-test-runner-plugin-pixi';
19
21
 
20
22
  export default {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antha/web-test-runner-plugin-pixi",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Fixing pixi.js imports for web-test-runner.",
5
5
  "keywords": [
6
6
  "pixi",