@lynx-js/rspeedy-canary 0.10.8-canary-20250826-bc7f532b → 0.10.8

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.10.8-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
3
+ ## 0.10.8
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -13,8 +13,8 @@
13
13
  - Fix missing `publicPath` using when `rspeedy dev --mode production`. ([#1310](https://github.com/lynx-family/lynx-stack/pull/1310))
14
14
 
15
15
  - Updated dependencies [[`aaca8f9`](https://github.com/lynx-family/lynx-stack/commit/aaca8f91d177061c7b0430cc5cb21a3602897534)]:
16
- - @lynx-js/cache-events-webpack-plugin@0.0.1-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
17
- - @lynx-js/chunk-loading-webpack-plugin@0.3.1-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
16
+ - @lynx-js/cache-events-webpack-plugin@0.0.1
17
+ - @lynx-js/chunk-loading-webpack-plugin@0.3.1
18
18
 
19
19
  ## 0.10.7
20
20
 
@@ -93,28 +93,28 @@
93
93
 
94
94
  ```ts
95
95
  type InlineChunkTestFunction = (params: {
96
- size: number;
97
- name: string;
98
- }) => boolean;
96
+ size: number
97
+ name: string
98
+ }) => boolean
99
99
 
100
- type InlineChunkTest = RegExp | InlineChunkTestFunction;
100
+ type InlineChunkTest = RegExp | InlineChunkTestFunction
101
101
 
102
102
  type InlineChunkConfig =
103
103
  | boolean
104
104
  | InlineChunkTest
105
- | { enable?: boolean | "auto"; test: InlineChunkTest };
105
+ | { enable?: boolean | 'auto', test: InlineChunkTest }
106
106
  ```
107
107
 
108
108
  ```ts
109
- import { defineConfig } from "@lynx-js/rspeedy";
109
+ import { defineConfig } from '@lynx-js/rspeedy'
110
110
 
111
111
  export default defineConfig({
112
112
  output: {
113
113
  inlineScripts: ({ name, size }) => {
114
- return name.includes("foo") && size < 1000;
114
+ return name.includes('foo') && size < 1000
115
115
  },
116
116
  },
117
- });
117
+ })
118
118
  ```
119
119
 
120
120
  - docs: remove chunks: 'all' in comments ([#1168](https://github.com/lynx-family/lynx-stack/pull/1168))
@@ -157,13 +157,13 @@
157
157
  example:
158
158
 
159
159
  ```js
160
- import { defineConfig } from "@lynx-js/rspeedy";
160
+ import { defineConfig } from '@lynx-js/rspeedy'
161
161
 
162
162
  export default defineConfig({
163
163
  output: {
164
164
  inlineScripts: false,
165
165
  },
166
- });
166
+ })
167
167
  ```
168
168
 
169
169
  - Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
@@ -183,12 +183,12 @@
183
183
  example:
184
184
 
185
185
  ```js
186
- import { defineConfig } from "@lynx-js/rspeedy";
186
+ import { defineConfig } from '@lynx-js/rspeedy'
187
187
  export default defineConfig({
188
188
  source: {
189
- preEntry: "./src/polyfill.ts",
189
+ preEntry: './src/polyfill.ts',
190
190
  },
191
- });
191
+ })
192
192
  ```
193
193
 
194
194
  - Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
@@ -199,17 +199,17 @@
199
199
 
200
200
  ```js
201
201
  export const myPlugin = {
202
- name: "my-plugin",
202
+ name: 'my-plugin',
203
203
  setup(api) {
204
- const { callerName } = api.context;
204
+ const { callerName } = api.context
205
205
 
206
- if (callerName === "rslib") {
206
+ if (callerName === 'rslib') {
207
207
  // ...
208
- } else if (callerName === "rspeedy") {
208
+ } else if (callerName === 'rspeedy') {
209
209
  // ...
210
210
  }
211
211
  },
212
- };
212
+ }
213
213
  ```
214
214
 
215
215
  - Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
@@ -232,7 +232,7 @@
232
232
  Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
233
233
 
234
234
  ```js
235
- import { defineConfig } from "@lynx-js/rspeedy";
235
+ import { defineConfig } from '@lynx-js/rspeedy'
236
236
 
237
237
  export default defineConfig({
238
238
  tools: {
@@ -242,7 +242,7 @@
242
242
  },
243
243
  },
244
244
  },
245
- });
245
+ })
246
246
  ```
247
247
 
248
248
  See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
@@ -374,12 +374,12 @@
374
374
  example:
375
375
 
376
376
  ```js
377
- import { defineConfig } from "@lynx-js/rspeedy";
377
+ import { defineConfig } from '@lynx-js/rspeedy'
378
378
  export default defineConfig({
379
379
  server: {
380
- base: "/dist",
380
+ base: '/dist',
381
381
  },
382
- });
382
+ })
383
383
  ```
384
384
 
385
385
  - Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
@@ -432,11 +432,11 @@
432
432
  You can switch to other tools by using:
433
433
 
434
434
  ```js
435
- import { defineConfig } from "@lynx-js/rspeedy";
435
+ import { defineConfig } from '@lynx-js/rspeedy'
436
436
  import {
437
437
  CssMinimizerWebpackPlugin,
438
438
  pluginCssMinimizer,
439
- } from "@rsbuild/plugin-css-minimizer";
439
+ } from '@rsbuild/plugin-css-minimizer'
440
440
 
441
441
  export default defineConfig({
442
442
  plugins: [
@@ -449,7 +449,7 @@
449
449
  },
450
450
  }),
451
451
  ],
452
- });
452
+ })
453
453
  ```
454
454
 
455
455
  See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
@@ -459,8 +459,8 @@
459
459
  You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
460
460
 
461
461
  ```js
462
- import { defineConfig } from "@lynx-js/rspeedy";
463
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
462
+ import { defineConfig } from '@lynx-js/rspeedy'
463
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
464
464
 
465
465
  export default defineConfig({
466
466
  plugins: [
@@ -472,7 +472,7 @@
472
472
  },
473
473
  }),
474
474
  ],
475
- });
475
+ })
476
476
  ```
477
477
 
478
478
  ## 0.7.1
@@ -492,7 +492,7 @@
492
492
  You may turn it off using `output.minify.css: false`:
493
493
 
494
494
  ```js
495
- import { defineConfig } from "@lynx-js/rspeedy";
495
+ import { defineConfig } from '@lynx-js/rspeedy'
496
496
 
497
497
  export default defineConfig({
498
498
  output: {
@@ -500,18 +500,18 @@
500
500
  css: false,
501
501
  },
502
502
  },
503
- });
503
+ })
504
504
  ```
505
505
 
506
506
  Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
507
507
 
508
508
  ```js
509
- import { defineConfig } from "@lynx-js/rspeedy";
510
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
509
+ import { defineConfig } from '@lynx-js/rspeedy'
510
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
511
511
 
512
512
  export default defineConfig({
513
513
  plugins: [pluginCssMinimizer()],
514
- });
514
+ })
515
515
  ```
516
516
 
517
517
  - 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
@@ -538,22 +538,22 @@
538
538
  - The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
539
539
 
540
540
  ```js
541
- import { defineConfig } from "@lynx-js/rspeedy";
541
+ import { defineConfig } from '@lynx-js/rspeedy'
542
542
 
543
543
  export default defineConfig({
544
544
  dev: {
545
545
  watchFiles: [
546
546
  {
547
- type: "reload-server",
548
- paths: ["public/**/*.txt"],
547
+ type: 'reload-server',
548
+ paths: ['public/**/*.txt'],
549
549
  },
550
550
  {
551
- type: "reload-page",
552
- paths: ["public/**/*.json"],
551
+ type: 'reload-page',
552
+ paths: ['public/**/*.json'],
553
553
  },
554
554
  ],
555
555
  },
556
- });
556
+ })
557
557
  ```
558
558
 
559
559
  - be9b003: Add `source.exclude`.
package/dist/index.js CHANGED
@@ -113,7 +113,7 @@ var __webpack_modules__ = {
113
113
  });
114
114
  var core_ = __webpack_require__("@rsbuild/core");
115
115
  var package_namespaceObject = {
116
- i8: "0.10.7"
116
+ i8: "0.10.8"
117
117
  };
118
118
  const version = package_namespaceObject.i8;
119
119
  const rspackVersion = core_.rspack.rspackVersion;
@@ -40,7 +40,7 @@ export const __webpack_modules__ = {
40
40
  });
41
41
  var core_ = __webpack_require__("@rsbuild/core");
42
42
  var package_namespaceObject = {
43
- i8: "0.10.7"
43
+ i8: "0.10.8"
44
44
  };
45
45
  const version = package_namespaceObject.i8;
46
46
  const rspackVersion = core_.rspack.rspackVersion;
@@ -10,7 +10,7 @@ export const __webpack_modules__ = {
10
10
  });
11
11
  var core_ = __webpack_require__("@rsbuild/core");
12
12
  var package_namespaceObject = {
13
- i8: "0.10.7"
13
+ i8: "0.10.8"
14
14
  };
15
15
  const version = package_namespaceObject.i8;
16
16
  const rspackVersion = core_.rspack.rspackVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.10.8-canary-20250826-bc7f532b",
3
+ "version": "0.10.8",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -46,8 +46,8 @@
46
46
  "README.md"
47
47
  ],
48
48
  "dependencies": {
49
- "@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.1-canary-20250826-bc7f532b",
50
- "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.1-canary-20250826-bc7f532b",
49
+ "@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.1",
50
+ "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.1",
51
51
  "@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
52
52
  "@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
53
53
  "@rsbuild/core": "1.4.15",