@antha/web-test-runner-plugin-pixi 0.1.0 → 0.1.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.
- package/README.md +4 -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
|
-
|
|
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
|
-
|
|
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 {
|