@lynx-js/rspeedy-canary 0.10.2-canary-20250719-fb2ed8d0 → 0.10.3-canary-20250721-a3ae4c5e

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,12 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.10.2-canary-20250719032935-fb2ed8d080ee4e2ca16671238c0b3a081e81017a
3
+ ## 0.10.3-canary-20250721113631-a3ae4c5ebf1d8b44b15a3564b8590d4c6ae7b70b
4
+
5
+ ### Patch Changes
6
+
7
+ - Should be able to override `performance.profile` when `DEBUG=rspeedy`. ([#1307](https://github.com/lynx-family/lynx-stack/pull/1307))
8
+
9
+ ## 0.10.2
4
10
 
5
11
  ### Patch Changes
6
12
 
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.10.1"
115
+ i8: "0.10.2"
116
116
  };
117
117
  const version = package_namespaceObject.i8;
118
118
  const rspackVersion = core_.rspack.rspackVersion;
@@ -253,8 +253,9 @@ __webpack_require__.m = __webpack_modules__;
253
253
  })();
254
254
  var external_node_path_ = __webpack_require__("node:path");
255
255
  var core_ = __webpack_require__("@rsbuild/core");
256
+ var debug = __webpack_require__("./src/debug.ts");
256
257
  function applyDefaultRspeedyConfig(config) {
257
- const ret = (0, core_.mergeRsbuildConfig)({
258
+ return (0, core_.mergeRsbuildConfig)({
258
259
  mode: (()=>{
259
260
  if (config.mode) return config.mode;
260
261
  const nodeEnv = process.env['NODE_ENV'];
@@ -264,6 +265,9 @@ function applyDefaultRspeedyConfig(config) {
264
265
  filename: getFilename(config.output?.filename),
265
266
  inlineScripts: true
266
267
  },
268
+ performance: {
269
+ profile: (0, debug.L1)() ? true : void 0
270
+ },
267
271
  tools: {
268
272
  rsdoctor: {
269
273
  experiments: {
@@ -272,7 +276,6 @@ function applyDefaultRspeedyConfig(config) {
272
276
  }
273
277
  }
274
278
  }, config);
275
- return ret;
276
279
  }
277
280
  const DEFAULT_FILENAME = '[name].[platform].bundle';
278
281
  function getFilename(filename) {
@@ -286,7 +289,6 @@ function getFilename(filename) {
286
289
  template: finalFilename
287
290
  };
288
291
  }
289
- var debug = __webpack_require__("./src/debug.ts");
290
292
  const DEFAULT_ENTRY = './src/index.js';
291
293
  function toRsbuildEntry(entry) {
292
294
  if (void 0 === entry) {
@@ -140,8 +140,9 @@ export const __webpack_modules__ = {
140
140
  });
141
141
  var external_node_path_ = __webpack_require__("node:path");
142
142
  var core_ = __webpack_require__("@rsbuild/core");
143
+ var debug = __webpack_require__("./src/debug.ts");
143
144
  function applyDefaultRspeedyConfig(config) {
144
- const ret = (0, core_.mergeRsbuildConfig)({
145
+ return (0, core_.mergeRsbuildConfig)({
145
146
  mode: (()=>{
146
147
  if (config.mode) return config.mode;
147
148
  const nodeEnv = process.env['NODE_ENV'];
@@ -151,6 +152,9 @@ export const __webpack_modules__ = {
151
152
  filename: getFilename(config.output?.filename),
152
153
  inlineScripts: true
153
154
  },
155
+ performance: {
156
+ profile: (0, debug.L1)() ? true : void 0
157
+ },
154
158
  tools: {
155
159
  rsdoctor: {
156
160
  experiments: {
@@ -159,7 +163,6 @@ export const __webpack_modules__ = {
159
163
  }
160
164
  }
161
165
  }, config);
162
- return ret;
163
166
  }
164
167
  const DEFAULT_FILENAME = '[name].[platform].bundle';
165
168
  function getFilename(filename) {
@@ -173,7 +176,6 @@ export const __webpack_modules__ = {
173
176
  template: finalFilename
174
177
  };
175
178
  }
176
- var debug = __webpack_require__("./src/debug.ts");
177
179
  const DEFAULT_ENTRY = './src/index.js';
178
180
  function toRsbuildEntry(entry) {
179
181
  if (void 0 === entry) {
@@ -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.1"
43
+ i8: "0.10.2"
44
44
  };
45
45
  const version = package_namespaceObject.i8;
46
46
  const rspackVersion = core_.rspack.rspackVersion;
@@ -183,8 +183,9 @@ export const __webpack_modules__ = {
183
183
  });
184
184
  var external_node_path_ = __webpack_require__("node:path");
185
185
  var core_ = __webpack_require__("@rsbuild/core");
186
+ var debug = __webpack_require__("./src/debug.ts");
186
187
  function applyDefaultRspeedyConfig(config) {
187
- const ret = (0, core_.mergeRsbuildConfig)({
188
+ return (0, core_.mergeRsbuildConfig)({
188
189
  mode: (()=>{
189
190
  if (config.mode) return config.mode;
190
191
  const nodeEnv = process.env['NODE_ENV'];
@@ -194,6 +195,9 @@ export const __webpack_modules__ = {
194
195
  filename: getFilename(config.output?.filename),
195
196
  inlineScripts: true
196
197
  },
198
+ performance: {
199
+ profile: (0, debug.L1)() ? true : void 0
200
+ },
197
201
  tools: {
198
202
  rsdoctor: {
199
203
  experiments: {
@@ -202,7 +206,6 @@ export const __webpack_modules__ = {
202
206
  }
203
207
  }
204
208
  }, config);
205
- return ret;
206
209
  }
207
210
  const DEFAULT_FILENAME = '[name].[platform].bundle';
208
211
  function getFilename(filename) {
@@ -216,7 +219,6 @@ export const __webpack_modules__ = {
216
219
  template: finalFilename
217
220
  };
218
221
  }
219
- var debug = __webpack_require__("./src/debug.ts");
220
222
  const DEFAULT_ENTRY = './src/index.js';
221
223
  function toRsbuildEntry(entry) {
222
224
  if (void 0 === entry) {
@@ -143,8 +143,9 @@ export const __webpack_modules__ = {
143
143
  });
144
144
  var external_node_path_ = __webpack_require__("node:path");
145
145
  var core_ = __webpack_require__("@rsbuild/core");
146
+ var debug = __webpack_require__("./src/debug.ts");
146
147
  function applyDefaultRspeedyConfig(config) {
147
- const ret = (0, core_.mergeRsbuildConfig)({
148
+ return (0, core_.mergeRsbuildConfig)({
148
149
  mode: (()=>{
149
150
  if (config.mode) return config.mode;
150
151
  const nodeEnv = process.env['NODE_ENV'];
@@ -154,6 +155,9 @@ export const __webpack_modules__ = {
154
155
  filename: getFilename(config.output?.filename),
155
156
  inlineScripts: true
156
157
  },
158
+ performance: {
159
+ profile: (0, debug.L1)() ? true : void 0
160
+ },
157
161
  tools: {
158
162
  rsdoctor: {
159
163
  experiments: {
@@ -162,7 +166,6 @@ export const __webpack_modules__ = {
162
166
  }
163
167
  }
164
168
  }, config);
165
- return ret;
166
169
  }
167
170
  const DEFAULT_FILENAME = '[name].[platform].bundle';
168
171
  function getFilename(filename) {
@@ -176,7 +179,6 @@ export const __webpack_modules__ = {
176
179
  template: finalFilename
177
180
  };
178
181
  }
179
- var debug = __webpack_require__("./src/debug.ts");
180
182
  const DEFAULT_ENTRY = './src/index.js';
181
183
  function toRsbuildEntry(entry) {
182
184
  if (void 0 === entry) {
@@ -145,8 +145,9 @@ export const __webpack_modules__ = {
145
145
  });
146
146
  var external_node_path_ = __webpack_require__("node:path");
147
147
  var core_ = __webpack_require__("@rsbuild/core");
148
+ var debug = __webpack_require__("./src/debug.ts");
148
149
  function applyDefaultRspeedyConfig(config) {
149
- const ret = (0, core_.mergeRsbuildConfig)({
150
+ return (0, core_.mergeRsbuildConfig)({
150
151
  mode: (()=>{
151
152
  if (config.mode) return config.mode;
152
153
  const nodeEnv = process.env['NODE_ENV'];
@@ -156,6 +157,9 @@ export const __webpack_modules__ = {
156
157
  filename: getFilename(config.output?.filename),
157
158
  inlineScripts: true
158
159
  },
160
+ performance: {
161
+ profile: (0, debug.L1)() ? true : void 0
162
+ },
159
163
  tools: {
160
164
  rsdoctor: {
161
165
  experiments: {
@@ -164,7 +168,6 @@ export const __webpack_modules__ = {
164
168
  }
165
169
  }
166
170
  }, config);
167
- return ret;
168
171
  }
169
172
  const DEFAULT_FILENAME = '[name].[platform].bundle';
170
173
  function getFilename(filename) {
@@ -178,7 +181,6 @@ export const __webpack_modules__ = {
178
181
  template: finalFilename
179
182
  };
180
183
  }
181
- var debug = __webpack_require__("./src/debug.ts");
182
184
  const DEFAULT_ENTRY = './src/index.js';
183
185
  function toRsbuildEntry(entry) {
184
186
  if (void 0 === entry) {
@@ -14,8 +14,7 @@ export const __webpack_modules__ = {
14
14
  Promise.all([
15
15
  __webpack_require__.e("vendors-node_modules_pnpm_javascript-stringify_2_1_0_node_modules_javascript-stringify_dist_i-562fbc"),
16
16
  __webpack_require__.e("src_plugins_inspect_plugin_ts")
17
- ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts")).then(({ pluginInspect })=>pluginInspect(config)),
18
- __webpack_require__.e("src_plugins_stats_plugin_ts").then(__webpack_require__.bind(__webpack_require__, "./src/plugins/stats.plugin.ts")).then(({ pluginStats })=>pluginStats())
17
+ ]).then(__webpack_require__.bind(__webpack_require__, "./src/plugins/inspect.plugin.ts")).then(({ pluginInspect })=>pluginInspect(config))
19
18
  ]);
20
19
  rsbuildInstance.addPlugins(await Promise.all(debugPlugins));
21
20
  }
@@ -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.1"
13
+ i8: "0.10.2"
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.2-canary-20250719-fb2ed8d0",
3
+ "version": "0.10.3-canary-20250721-a3ae4c5e",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1,23 +0,0 @@
1
- export const __webpack_ids__ = [
2
- "src_plugins_stats_plugin_ts"
3
- ];
4
- export const __webpack_modules__ = {
5
- "./src/plugins/stats.plugin.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
- __webpack_require__.r(__webpack_exports__);
7
- __webpack_require__.d(__webpack_exports__, {
8
- pluginStats: ()=>pluginStats
9
- });
10
- function pluginStats() {
11
- return {
12
- name: 'lynx:rsbuild:stats',
13
- setup (api) {
14
- api.modifyRsbuildConfig((config, { mergeRsbuildConfig })=>mergeRsbuildConfig(config, {
15
- performance: {
16
- profile: true
17
- }
18
- }));
19
- }
20
- };
21
- }
22
- }
23
- };