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.
- package/README.md +2 -1
- 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`
|
|
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
|
|