@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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/options.d.ts +1 -1
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -22,7 +22,7 @@ export default defineConfig({
22
22
  });
23
23
  ```
24
24
 
25
- ## 🚧 Import via Constructor
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
@@ -1,5 +1,5 @@
1
1
  import type { UserConfig } from "@farmfe/core"
2
2
  export interface IPluginOptions {
3
3
  isBuild?: boolean
4
- compilerConfig?: UserConfig
4
+ compilerConfig?: UserConfig['compilation']
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmfe/plugin-worker",
3
- "version": "0.0.3",
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.3",
40
- "farmfe-plugin-worker-darwin-x64": "0.0.3",
41
- "farmfe-plugin-worker-linux-arm64-gnu": "0.0.3",
42
- "farmfe-plugin-worker-linux-arm64-musl": "0.0.3",
43
- "farmfe-plugin-worker-linux-x64-gnu": "0.0.3",
44
- "farmfe-plugin-worker-linux-x64-musl": "0.0.3",
45
- "farmfe-plugin-worker-win32-arm64-msvc": "0.0.3",
46
- "farmfe-plugin-worker-win32-ia32-msvc": "0.0.3",
47
- "farmfe-plugin-worker-win32-x64-msvc": "0.0.3"
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'",