@lynx-js/rspeedy 0.14.1 → 0.14.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.
- package/CHANGELOG.md +38 -2
- package/dist/0~src_config_validate_ts.js +2229 -2449
- package/dist/0~src_plugins_dev_plugin_ts.js +30 -4
- package/dist/1~src_cli_init_ts-src_create-rspeedy_ts.js +3 -0
- package/dist/1~src_config_validate_ts.js +2229 -2449
- package/dist/1~src_plugins_dev_plugin_ts.js +30 -4
- package/dist/index.d.ts +93 -33
- package/dist/src_cli_main_ts.js +1 -1
- package/dist/src_index_ts.js +4 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
+
## 0.14.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- add a `sourceMap.css` option to emit CSS sourcemaps. ([#2442](https://github.com/lynx-family/lynx-stack/pull/2442))
|
|
8
|
+
|
|
9
|
+
By default, `sourceMap.css` is false. You can set it to true to emit CSS sourcemaps.
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
13
|
+
|
|
14
|
+
export default defineConfig({
|
|
15
|
+
output: {
|
|
16
|
+
sourceMap: {
|
|
17
|
+
css: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
})
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- bump rsdoctor to 1.5.6 ([#2410](https://github.com/lynx-family/lynx-stack/pull/2410))
|
|
24
|
+
|
|
25
|
+
- Enable CSS source maps by default in Rspeedy output config. ([#2483](https://github.com/lynx-family/lynx-stack/pull/2483))
|
|
26
|
+
|
|
27
|
+
- Prefer physical routable IPv4 addresses over tunnel and link-local interfaces when resolving the dev host IP for generated preview and bundle URLs. ([#2409](https://github.com/lynx-family/lynx-stack/pull/2409))
|
|
28
|
+
|
|
29
|
+
- Updated dependencies []:
|
|
30
|
+
- @lynx-js/web-rsbuild-server-middleware@0.20.3
|
|
31
|
+
|
|
32
|
+
## 0.14.2
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies []:
|
|
37
|
+
- @lynx-js/web-rsbuild-server-middleware@0.20.2
|
|
38
|
+
|
|
3
39
|
## 0.14.1
|
|
4
40
|
|
|
5
41
|
### Patch Changes
|
|
@@ -521,7 +557,7 @@
|
|
|
521
557
|
|
|
522
558
|
- Add `callerName` option to `createRspeedy`. ([#757](https://github.com/lynx-family/lynx-stack/pull/757))
|
|
523
559
|
|
|
524
|
-
It can be accessed by Rsbuild plugins through [`api.context.callerName`](https://rsbuild.
|
|
560
|
+
It can be accessed by Rsbuild plugins through [`api.context.callerName`](https://rsbuild.rs/api/javascript-api/instance#contextcallername), and execute different logic based on this identifier.
|
|
525
561
|
|
|
526
562
|
```js
|
|
527
563
|
export const myPlugin = {
|
|
@@ -652,7 +688,7 @@
|
|
|
652
688
|
|
|
653
689
|
- Support `output.distPath.*`. ([#366](https://github.com/lynx-family/lynx-stack/pull/366))
|
|
654
690
|
|
|
655
|
-
See [Rsbuild - distPath](https://rsbuild.
|
|
691
|
+
See [Rsbuild - distPath](https://rsbuild.rs/config/output/dist-path) for all available options.
|
|
656
692
|
|
|
657
693
|
- Support `performance.printFileSize` ([#336](https://github.com/lynx-family/lynx-stack/pull/336))
|
|
658
694
|
|