@farmfe/plugin-worker 0.0.3 → 0.0.5
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 +1 -1
- package/options.d.ts +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ export default defineConfig({
|
|
|
22
22
|
});
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Import via Constructor
|
|
26
26
|
|
|
27
27
|
A Web Worker can be imported using [`new Worker()`](https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Workers_API/Using_web_workers) and [`new SharedWorker()`](https://developer.mozilla.org/zh-CN/docs/Web/API/SharedWorker). This syntax is closer to the standard compared to the worker suffix and is the recommended way to create workers.
|
|
28
28
|
|
package/options.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farmfe/plugin-worker",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"main": "scripts/index.js",
|
|
5
5
|
"types": "scripts/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"options.d.ts"
|
|
37
37
|
],
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"farmfe-plugin-worker-darwin-arm64": "0.0.
|
|
40
|
-
"farmfe-plugin-worker-darwin-x64": "0.0.
|
|
41
|
-
"farmfe-plugin-worker-linux-arm64-gnu": "0.0.
|
|
42
|
-
"farmfe-plugin-worker-linux-arm64-musl": "0.0.
|
|
43
|
-
"farmfe-plugin-worker-linux-x64-gnu": "0.0.
|
|
44
|
-
"farmfe-plugin-worker-linux-x64-musl": "0.0.
|
|
45
|
-
"farmfe-plugin-worker-win32-arm64-msvc": "0.0.
|
|
46
|
-
"farmfe-plugin-worker-win32-ia32-msvc": "0.0.
|
|
47
|
-
"farmfe-plugin-worker-win32-x64-msvc": "0.0.
|
|
39
|
+
"farmfe-plugin-worker-darwin-arm64": "0.0.5",
|
|
40
|
+
"farmfe-plugin-worker-darwin-x64": "0.0.5",
|
|
41
|
+
"farmfe-plugin-worker-linux-arm64-gnu": "0.0.5",
|
|
42
|
+
"farmfe-plugin-worker-linux-arm64-musl": "0.0.5",
|
|
43
|
+
"farmfe-plugin-worker-linux-x64-gnu": "0.0.5",
|
|
44
|
+
"farmfe-plugin-worker-linux-x64-musl": "0.0.5",
|
|
45
|
+
"farmfe-plugin-worker-win32-arm64-msvc": "0.0.5",
|
|
46
|
+
"farmfe-plugin-worker-win32-ia32-msvc": "0.0.5",
|
|
47
|
+
"farmfe-plugin-worker-win32-x64-msvc": "0.0.5"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"dev": "cargo watch -w src -s 'scripts/watch.sh'",
|