wirejs-web-worker 1.0.2 → 1.0.3

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 +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -99,12 +99,13 @@ To make this work, the worker sub-package must be built using the `wirejs-web-wo
99
99
  },
100
100
  "scripts": {
101
101
  "prebuild": "wirejs-web-worker-build",
102
+ "prestart": "npm run prebuild",
102
103
  "start": "wirejs-scripts watch src npm run prebuild"
103
104
  }
104
105
  }
105
106
  ```
106
107
 
107
- This example builds during the `prebuild` stage to ensure it is ready for the main package's `build` step — assuming we're using vanilla workspaces and don't have luxury of dependency-aware build sequencing.
108
+ This example builds during the `prebuild` and `prestart` stage to ensure it is ready for the main package's `build` and `start` steps — assuming we're using vanilla workspaces and don't have luxury of dependency-aware build sequencing.
108
109
 
109
110
  ### `package.json`
110
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-web-worker",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "types": "./dist/index.d.ts",