@lynx-js/rspeedy-canary 0.9.10-canary-20250620-6fbe9650 → 0.9.10

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.9.10-canary-20250620143446-6fbe9650cb25acf9eb247f233dcb875632c3534b
3
+ ## 0.9.10
4
4
 
5
5
  ## 0.9.9
6
6
 
@@ -38,13 +38,13 @@
38
38
  example:
39
39
 
40
40
  ```js
41
- import { defineConfig } from "@lynx-js/rspeedy";
41
+ import { defineConfig } from '@lynx-js/rspeedy'
42
42
 
43
43
  export default defineConfig({
44
44
  output: {
45
45
  inlineScripts: false,
46
46
  },
47
- });
47
+ })
48
48
  ```
49
49
 
50
50
  - Bump Rsbuild v1.3.21 with Rspack v1.3.11. ([#863](https://github.com/lynx-family/lynx-stack/pull/863))
@@ -64,12 +64,12 @@
64
64
  example:
65
65
 
66
66
  ```js
67
- import { defineConfig } from "@lynx-js/rspeedy";
67
+ import { defineConfig } from '@lynx-js/rspeedy'
68
68
  export default defineConfig({
69
69
  source: {
70
- preEntry: "./src/polyfill.ts",
70
+ preEntry: './src/polyfill.ts',
71
71
  },
72
- });
72
+ })
73
73
  ```
74
74
 
75
75
  - Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
@@ -80,17 +80,17 @@
80
80
 
81
81
  ```js
82
82
  export const myPlugin = {
83
- name: "my-plugin",
83
+ name: 'my-plugin',
84
84
  setup(api) {
85
- const { callerName } = api.context;
85
+ const { callerName } = api.context
86
86
 
87
- if (callerName === "rslib") {
87
+ if (callerName === 'rslib') {
88
88
  // ...
89
- } else if (callerName === "rspeedy") {
89
+ } else if (callerName === 'rspeedy') {
90
90
  // ...
91
91
  }
92
92
  },
93
- };
93
+ }
94
94
  ```
95
95
 
96
96
  - Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
@@ -113,7 +113,7 @@
113
113
  Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
114
114
 
115
115
  ```js
116
- import { defineConfig } from "@lynx-js/rspeedy";
116
+ import { defineConfig } from '@lynx-js/rspeedy'
117
117
 
118
118
  export default defineConfig({
119
119
  tools: {
@@ -123,7 +123,7 @@
123
123
  },
124
124
  },
125
125
  },
126
- });
126
+ })
127
127
  ```
128
128
 
129
129
  See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
@@ -255,12 +255,12 @@
255
255
  example:
256
256
 
257
257
  ```js
258
- import { defineConfig } from "@lynx-js/rspeedy";
258
+ import { defineConfig } from '@lynx-js/rspeedy'
259
259
  export default defineConfig({
260
260
  server: {
261
- base: "/dist",
261
+ base: '/dist',
262
262
  },
263
- });
263
+ })
264
264
  ```
265
265
 
266
266
  - Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
@@ -313,11 +313,11 @@
313
313
  You can switch to other tools by using:
314
314
 
315
315
  ```js
316
- import { defineConfig } from "@lynx-js/rspeedy";
316
+ import { defineConfig } from '@lynx-js/rspeedy'
317
317
  import {
318
318
  CssMinimizerWebpackPlugin,
319
319
  pluginCssMinimizer,
320
- } from "@rsbuild/plugin-css-minimizer";
320
+ } from '@rsbuild/plugin-css-minimizer'
321
321
 
322
322
  export default defineConfig({
323
323
  plugins: [
@@ -330,7 +330,7 @@
330
330
  },
331
331
  }),
332
332
  ],
333
- });
333
+ })
334
334
  ```
335
335
 
336
336
  See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
@@ -340,8 +340,8 @@
340
340
  You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
341
341
 
342
342
  ```js
343
- import { defineConfig } from "@lynx-js/rspeedy";
344
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
343
+ import { defineConfig } from '@lynx-js/rspeedy'
344
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
345
345
 
346
346
  export default defineConfig({
347
347
  plugins: [
@@ -353,7 +353,7 @@
353
353
  },
354
354
  }),
355
355
  ],
356
- });
356
+ })
357
357
  ```
358
358
 
359
359
  ## 0.7.1
@@ -373,7 +373,7 @@
373
373
  You may turn it off using `output.minify.css: false`:
374
374
 
375
375
  ```js
376
- import { defineConfig } from "@lynx-js/rspeedy";
376
+ import { defineConfig } from '@lynx-js/rspeedy'
377
377
 
378
378
  export default defineConfig({
379
379
  output: {
@@ -381,18 +381,18 @@
381
381
  css: false,
382
382
  },
383
383
  },
384
- });
384
+ })
385
385
  ```
386
386
 
387
387
  Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
388
388
 
389
389
  ```js
390
- import { defineConfig } from "@lynx-js/rspeedy";
391
- import { pluginCssMinimizer } from "@rsbuild/plugin-css-minimizer";
390
+ import { defineConfig } from '@lynx-js/rspeedy'
391
+ import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
392
392
 
393
393
  export default defineConfig({
394
394
  plugins: [pluginCssMinimizer()],
395
- });
395
+ })
396
396
  ```
397
397
 
398
398
  - 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
@@ -419,22 +419,22 @@
419
419
  - The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
420
420
 
421
421
  ```js
422
- import { defineConfig } from "@lynx-js/rspeedy";
422
+ import { defineConfig } from '@lynx-js/rspeedy'
423
423
 
424
424
  export default defineConfig({
425
425
  dev: {
426
426
  watchFiles: [
427
427
  {
428
- type: "reload-server",
429
- paths: ["public/**/*.txt"],
428
+ type: 'reload-server',
429
+ paths: ['public/**/*.txt'],
430
430
  },
431
431
  {
432
- type: "reload-page",
433
- paths: ["public/**/*.json"],
432
+ type: 'reload-page',
433
+ paths: ['public/**/*.json'],
434
434
  },
435
435
  ],
436
436
  },
437
- });
437
+ })
438
438
  ```
439
439
 
440
440
  - be9b003: Add `source.exclude`.
package/dist/cli/main.js CHANGED
@@ -194,9 +194,9 @@ var __webpack_modules__ = {
194
194
  NW: ()=>debugList,
195
195
  fF: ()=>debug
196
196
  });
197
- var _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("@rsbuild/core");
198
- var picocolors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
199
- var picocolors__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(picocolors__WEBPACK_IMPORTED_MODULE_1__);
197
+ var _rsbuild_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("@rsbuild/core");
198
+ var picocolors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js");
199
+ var picocolors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n(picocolors__WEBPACK_IMPORTED_MODULE_0__);
200
200
  const isDebug = ()=>{
201
201
  if (!process.env['DEBUG']) return false;
202
202
  const values = process.env['DEBUG'].toLocaleLowerCase().split(',');
@@ -206,12 +206,12 @@ var __webpack_modules__ = {
206
206
  '*'
207
207
  ].some((key)=>values.includes(key));
208
208
  };
209
- const label = picocolors__WEBPACK_IMPORTED_MODULE_1___default().bgCyan('lynx');
209
+ const label = picocolors__WEBPACK_IMPORTED_MODULE_0___default().bgCyan('lynx');
210
210
  const debug = (message)=>{
211
211
  if (isDebug()) {
212
212
  const result = 'string' == typeof message ? message : message();
213
- _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.level = 'verbose';
214
- _rsbuild_core__WEBPACK_IMPORTED_MODULE_0__.logger.debug(`${label} ${result}`);
213
+ _rsbuild_core__WEBPACK_IMPORTED_MODULE_1__.logger.level = 'verbose';
214
+ _rsbuild_core__WEBPACK_IMPORTED_MODULE_1__.logger.debug(`${label} ${result}`);
215
215
  }
216
216
  };
217
217
  const debugList = (prefix, messages)=>debug(()=>`${prefix} ${[
package/dist/index.js CHANGED
@@ -112,7 +112,7 @@ var __webpack_modules__ = {
112
112
  });
113
113
  var core_ = __webpack_require__("@rsbuild/core");
114
114
  var package_namespaceObject = {
115
- i8: "0.9.9"
115
+ i8: "0.9.10"
116
116
  };
117
117
  const version = package_namespaceObject.i8;
118
118
  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.9.9"
43
+ i8: "0.9.10"
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.9.9"
13
+ i8: "0.9.10"
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.9.10-canary-20250620-6fbe9650",
3
+ "version": "0.9.10",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",