@lynx-js/rspeedy-canary 0.9.5-canary-20250516-1943270f → 0.9.5
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 +32 -32
- package/dist/index.js +1 -1
- package/dist/src_cli_commands_ts.js +1 -1
- package/dist/src_version_ts.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/rspeedy
|
|
2
2
|
|
|
3
|
-
## 0.9.5
|
|
3
|
+
## 0.9.5
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
example:
|
|
13
13
|
|
|
14
14
|
```js
|
|
15
|
-
import { defineConfig } from
|
|
15
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
16
16
|
export default defineConfig({
|
|
17
17
|
source: {
|
|
18
|
-
preEntry:
|
|
18
|
+
preEntry: './src/polyfill.ts',
|
|
19
19
|
},
|
|
20
|
-
})
|
|
20
|
+
})
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
- Bump Rsbuild v1.3.20 with Rspack v1.3.10. ([#799](https://github.com/lynx-family/lynx-stack/pull/799))
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
|
|
29
29
|
```js
|
|
30
30
|
export const myPlugin = {
|
|
31
|
-
name:
|
|
31
|
+
name: 'my-plugin',
|
|
32
32
|
setup(api) {
|
|
33
|
-
const { callerName } = api.context
|
|
33
|
+
const { callerName } = api.context
|
|
34
34
|
|
|
35
|
-
if (callerName ===
|
|
35
|
+
if (callerName === 'rslib') {
|
|
36
36
|
// ...
|
|
37
|
-
} else if (callerName ===
|
|
37
|
+
} else if (callerName === 'rspeedy') {
|
|
38
38
|
// ...
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
}
|
|
41
|
+
}
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
- Support `performance.buildCache`. ([#766](https://github.com/lynx-family/lynx-stack/pull/766))
|
|
45
45
|
|
|
46
46
|
- Updated dependencies [[`fbc4fbb`](https://github.com/lynx-family/lynx-stack/commit/fbc4fbbdb572ad7128a33dc06e8d8a026d18e388)]:
|
|
47
|
-
- @lynx-js/webpack-dev-transport@0.1.3
|
|
47
|
+
- @lynx-js/webpack-dev-transport@0.1.3
|
|
48
48
|
|
|
49
49
|
## 0.9.4
|
|
50
50
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
Set `tools.rsdoctor.experiments.enableNativePlugin` to `false` to use the old JS plugin.
|
|
62
62
|
|
|
63
63
|
```js
|
|
64
|
-
import { defineConfig } from
|
|
64
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
65
65
|
|
|
66
66
|
export default defineConfig({
|
|
67
67
|
tools: {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
73
|
},
|
|
74
|
-
})
|
|
74
|
+
})
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
See [Rsdoctor - 1.0](https://rsdoctor.dev/blog/release/release-note-1_0#-faster-analysis) for more details.
|
|
@@ -203,12 +203,12 @@
|
|
|
203
203
|
example:
|
|
204
204
|
|
|
205
205
|
```js
|
|
206
|
-
import { defineConfig } from
|
|
206
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
207
207
|
export default defineConfig({
|
|
208
208
|
server: {
|
|
209
|
-
base:
|
|
209
|
+
base: '/dist',
|
|
210
210
|
},
|
|
211
|
-
})
|
|
211
|
+
})
|
|
212
212
|
```
|
|
213
213
|
|
|
214
214
|
- Updated dependencies [[`b026c8b`](https://github.com/lynx-family/lynx-stack/commit/b026c8bdcbf7bdcda73e170477297213b447d876)]:
|
|
@@ -261,11 +261,11 @@
|
|
|
261
261
|
You can switch to other tools by using:
|
|
262
262
|
|
|
263
263
|
```js
|
|
264
|
-
import { defineConfig } from
|
|
264
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
265
265
|
import {
|
|
266
266
|
CssMinimizerWebpackPlugin,
|
|
267
267
|
pluginCssMinimizer,
|
|
268
|
-
} from
|
|
268
|
+
} from '@rsbuild/plugin-css-minimizer'
|
|
269
269
|
|
|
270
270
|
export default defineConfig({
|
|
271
271
|
plugins: [
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
},
|
|
279
279
|
}),
|
|
280
280
|
],
|
|
281
|
-
})
|
|
281
|
+
})
|
|
282
282
|
```
|
|
283
283
|
|
|
284
284
|
See [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) for details.
|
|
@@ -288,8 +288,8 @@
|
|
|
288
288
|
You can use custom options with [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer):
|
|
289
289
|
|
|
290
290
|
```js
|
|
291
|
-
import { defineConfig } from
|
|
292
|
-
import { pluginCssMinimizer } from
|
|
291
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
292
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
293
293
|
|
|
294
294
|
export default defineConfig({
|
|
295
295
|
plugins: [
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
},
|
|
302
302
|
}),
|
|
303
303
|
],
|
|
304
|
-
})
|
|
304
|
+
})
|
|
305
305
|
```
|
|
306
306
|
|
|
307
307
|
## 0.7.1
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
You may turn it off using `output.minify.css: false`:
|
|
322
322
|
|
|
323
323
|
```js
|
|
324
|
-
import { defineConfig } from
|
|
324
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
325
325
|
|
|
326
326
|
export default defineConfig({
|
|
327
327
|
output: {
|
|
@@ -329,18 +329,18 @@
|
|
|
329
329
|
css: false,
|
|
330
330
|
},
|
|
331
331
|
},
|
|
332
|
-
})
|
|
332
|
+
})
|
|
333
333
|
```
|
|
334
334
|
|
|
335
335
|
Or you may use [@rsbuild/plugin-css-minimizer](https://github.com/rspack-contrib/rsbuild-plugin-css-minimizer) to use `cssnano` as CSS minimizer.
|
|
336
336
|
|
|
337
337
|
```js
|
|
338
|
-
import { defineConfig } from
|
|
339
|
-
import { pluginCssMinimizer } from
|
|
338
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
339
|
+
import { pluginCssMinimizer } from '@rsbuild/plugin-css-minimizer'
|
|
340
340
|
|
|
341
341
|
export default defineConfig({
|
|
342
342
|
plugins: [pluginCssMinimizer()],
|
|
343
|
-
})
|
|
343
|
+
})
|
|
344
344
|
```
|
|
345
345
|
|
|
346
346
|
- 525554c: **BREAKING CHANGE**: Bump ts-blank-space to ^0.6.0.
|
|
@@ -367,22 +367,22 @@
|
|
|
367
367
|
- The new `type: 'reload-server'` will restart the development server when it detects changes in the specified files.
|
|
368
368
|
|
|
369
369
|
```js
|
|
370
|
-
import { defineConfig } from
|
|
370
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
371
371
|
|
|
372
372
|
export default defineConfig({
|
|
373
373
|
dev: {
|
|
374
374
|
watchFiles: [
|
|
375
375
|
{
|
|
376
|
-
type:
|
|
377
|
-
paths: [
|
|
376
|
+
type: 'reload-server',
|
|
377
|
+
paths: ['public/**/*.txt'],
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
|
-
type:
|
|
381
|
-
paths: [
|
|
380
|
+
type: 'reload-page',
|
|
381
|
+
paths: ['public/**/*.json'],
|
|
382
382
|
},
|
|
383
383
|
],
|
|
384
384
|
},
|
|
385
|
-
})
|
|
385
|
+
})
|
|
386
386
|
```
|
|
387
387
|
|
|
388
388
|
- be9b003: Add `source.exclude`.
|
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.
|
|
115
|
+
i8: "0.9.5"
|
|
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.
|
|
43
|
+
i8: "0.9.5"
|
|
44
44
|
};
|
|
45
45
|
const version = package_namespaceObject.i8;
|
|
46
46
|
const rspackVersion = core_.rspack.rspackVersion;
|
package/dist/src_version_ts.js
CHANGED
|
@@ -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.
|
|
13
|
+
i8: "0.9.5"
|
|
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.5
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "A webpack/rspack-based frontend toolchain for Lynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.2.0",
|
|
50
|
-
"@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.1.3
|
|
50
|
+
"@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.1.3",
|
|
51
51
|
"@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
|
|
52
52
|
"@rsbuild/core": "1.3.20",
|
|
53
53
|
"@rsbuild/plugin-css-minimizer": "1.0.2",
|