@docusaurus/plugin-pwa 4.0.0-canary-6974 → 4.0.0-canary-6976

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/lib/index.js CHANGED
@@ -81,6 +81,7 @@ function pluginPWA(context, options) {
81
81
  });
82
82
  // Rspack: builtin:swc-loader, Webpack (deprecated): babel-loader
83
83
  const getJSLoader = await (0, bundler_1.createJsLoaderFactory)({
84
+ siteDir: props.siteDir,
84
85
  siteConfig: props.siteConfig,
85
86
  });
86
87
  const swWebpackConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-pwa",
3
- "version": "4.0.0-canary-6974",
3
+ "version": "4.0.0-canary-6976",
4
4
  "description": "Docusaurus Plugin to add PWA support.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-pwa.d.ts",
@@ -14,14 +14,14 @@
14
14
  },
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@docusaurus/bundler": "4.0.0-canary-6974",
18
- "@docusaurus/core": "4.0.0-canary-6974",
19
- "@docusaurus/logger": "4.0.0-canary-6974",
20
- "@docusaurus/theme-common": "4.0.0-canary-6974",
21
- "@docusaurus/theme-translations": "4.0.0-canary-6974",
22
- "@docusaurus/types": "4.0.0-canary-6974",
23
- "@docusaurus/utils": "4.0.0-canary-6974",
24
- "@docusaurus/utils-validation": "4.0.0-canary-6974",
17
+ "@docusaurus/bundler": "4.0.0-canary-6976",
18
+ "@docusaurus/core": "4.0.0-canary-6976",
19
+ "@docusaurus/logger": "4.0.0-canary-6976",
20
+ "@docusaurus/theme-common": "4.0.0-canary-6976",
21
+ "@docusaurus/theme-translations": "4.0.0-canary-6976",
22
+ "@docusaurus/types": "4.0.0-canary-6976",
23
+ "@docusaurus/utils": "4.0.0-canary-6976",
24
+ "@docusaurus/utils-validation": "4.0.0-canary-6976",
25
25
  "clsx": "^2.1.1",
26
26
  "tslib": "^2.8.1",
27
27
  "webpack": "^5.111.0",
@@ -30,7 +30,7 @@
30
30
  "workbox-window": "^7.4.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@docusaurus/module-type-aliases": "4.0.0-canary-6974",
33
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6976",
34
34
  "@types/react-dom": "^19.3.0"
35
35
  },
36
36
  "peerDependencies": {
package/src/index.ts CHANGED
@@ -122,6 +122,7 @@ export default function pluginPWA(
122
122
 
123
123
  // Rspack: builtin:swc-loader, Webpack (deprecated): babel-loader
124
124
  const getJSLoader = await createJsLoaderFactory({
125
+ siteDir: props.siteDir,
125
126
  siteConfig: props.siteConfig,
126
127
  });
127
128