@serwist/next 9.2.2 → 9.2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAMnE;;;;GAIG;AACH,QAAA,MAAM,eAAe,GAAI,aAAa,qBAAqB,KAAG,CAAC,CAAC,UAAU,CAAC,EAAE,UAAU,KAAK,UAAU,CA8NrG,CAAC;AAEF,eAAe,eAAe,CAAC;AAC/B,OAAO,EAAE,6BAA6B,EAAE,CAAC;AACzC,YAAY,EAAE,qBAAqB,IAAI,aAAa,EAAE,6BAA6B,IAAI,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAMnE;;;;GAIG;AACH,QAAA,MAAM,eAAe,GAAI,aAAa,qBAAqB,KAAG,CAAC,CAAC,UAAU,CAAC,EAAE,UAAU,KAAK,UAAU,CAgOrG,CAAC;AAEF,eAAe,eAAe,CAAC;AAC/B,OAAO,EAAE,6BAA6B,EAAE,CAAC;AACzC,YAAY,EAAE,qBAAqB,IAAI,aAAa,EAAE,6BAA6B,IAAI,qBAAqB,EAAE,CAAC"}
package/dist/index.js CHANGED
@@ -183,6 +183,7 @@ const withSerwistInit = (userOptions)=>{
183
183
  ], {
184
184
  absolute: true,
185
185
  nodir: true,
186
+ follow: true,
186
187
  cwd: destDir
187
188
  });
188
189
  for (const file of cleanUpList){
@@ -213,6 +214,7 @@ const withSerwistInit = (userOptions)=>{
213
214
  if (!resolvedManifestEntries) {
214
215
  const publicScan = globSync(globPublicPatterns, {
215
216
  nodir: true,
217
+ follow: true,
216
218
  cwd: publicDir,
217
219
  ignore: [
218
220
  "swe-worker-*.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/next",
3
- "version": "9.2.2",
3
+ "version": "9.2.3",
4
4
  "type": "module",
5
5
  "description": "A module that integrates Serwist into your Next.js application.",
6
6
  "files": [
@@ -63,12 +63,12 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "chalk": "5.6.2",
66
- "glob": "10.4.5",
66
+ "glob": "10.5.0",
67
67
  "zod": "4.1.12",
68
- "@serwist/build": "9.2.2",
69
- "@serwist/webpack-plugin": "9.2.2",
70
- "@serwist/window": "9.2.2",
71
- "serwist": "9.2.2"
68
+ "@serwist/build": "9.2.3",
69
+ "@serwist/webpack-plugin": "9.2.3",
70
+ "@serwist/window": "9.2.3",
71
+ "serwist": "9.2.3"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@types/node": "24.10.1",
@@ -79,8 +79,8 @@
79
79
  "type-fest": "5.2.0",
80
80
  "typescript": "5.9.3",
81
81
  "webpack": "5.103.0",
82
- "@serwist/configs": "9.2.2",
83
- "@serwist/utils": "9.2.2"
82
+ "@serwist/configs": "9.2.3",
83
+ "@serwist/utils": "9.2.3"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "next": ">=14.0.0",
package/src/index.ts CHANGED
@@ -136,6 +136,7 @@ const withSerwistInit = (userOptions: InjectManifestOptions): ((nextConfig?: Nex
136
136
  const cleanUpList = globSync(["swe-worker-*.js", "swe-worker-*.js.map", destBase, `${destBase}.map`], {
137
137
  absolute: true,
138
138
  nodir: true,
139
+ follow: true,
139
140
  cwd: destDir,
140
141
  });
141
142
 
@@ -175,6 +176,7 @@ const withSerwistInit = (userOptions: InjectManifestOptions): ((nextConfig?: Nex
175
176
  if (!resolvedManifestEntries) {
176
177
  const publicScan = globSync(globPublicPatterns, {
177
178
  nodir: true,
179
+ follow: true,
178
180
  cwd: publicDir,
179
181
  ignore: ["swe-worker-*.js", destBase, `${destBase}.map`],
180
182
  });