@rslib/core 0.10.4 → 0.10.6

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.
@@ -1 +1 @@
1
- {"name":"rslog","version":"1.2.8","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"rslog","version":"1.2.9","license":"MIT","types":"index.d.ts","type":"commonjs"}
package/dist/index.js CHANGED
@@ -198,7 +198,9 @@ const pluginLibAsset = ({ bundle })=>({
198
198
  rule.generator(generatorOptions);
199
199
  } else {
200
200
  const rule = config.module.rule(CHAIN_ID.RULE.SVG).oneOf(CHAIN_ID.ONE_OF.SVG);
201
- rule.issuer([]);
201
+ rule.issuer({
202
+ not: CSS_EXTENSIONS_PATTERN
203
+ });
202
204
  }
203
205
  if (bundle) config.plugins.get(CHAIN_ID.PLUGIN.MINI_CSS_EXTRACT)?.tap((options)=>[
204
206
  {
@@ -2994,7 +2996,7 @@ const applyCommonOptions = (cli)=>{
2994
2996
  function runCli() {
2995
2997
  const cli = dist('rslib');
2996
2998
  cli.help();
2997
- cli.version("0.10.4");
2999
+ cli.version("0.10.6");
2998
3000
  applyCommonOptions(cli);
2999
3001
  const buildCommand = cli.command('build', 'build the library for production');
3000
3002
  const inspectCommand = cli.command('inspect', 'inspect the Rsbuild / Rspack configs of Rslib projects');
@@ -3065,8 +3067,8 @@ function prepareCli() {
3065
3067
  initNodeEnv();
3066
3068
  const { npm_execpath } = process.env;
3067
3069
  if (!npm_execpath || npm_execpath.includes('npx-cli.js') || npm_execpath.includes('.bun')) console.log();
3068
- logger.greet(` Rslib v0.10.4\n`);
3070
+ logger.greet(` Rslib v0.10.6\n`);
3069
3071
  }
3070
- const src_version = "0.10.4";
3072
+ const src_version = "0.10.6";
3071
3073
  var __webpack_exports__rspack = __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__.rspack;
3072
3074
  export { build, defineConfig, inspect, loadConfig, logger, prepareCli, __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ as rsbuild, runCli, startMFDevServer, composeCreateRsbuildConfig as unstable_composeCreateRsbuildConfig, src_version as version, __webpack_exports__rspack as rspack };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslib/core",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "The Rsbuild-based library development tool.",
5
5
  "homepage": "https://rslib.rs",
6
6
  "bugs": {
@@ -36,22 +36,22 @@
36
36
  "types.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@rsbuild/core": "~1.4.0",
39
+ "@rsbuild/core": "~1.4.7",
40
40
  "tinyglobby": "^0.2.14",
41
- "rsbuild-plugin-dts": "0.10.4"
41
+ "rsbuild-plugin-dts": "0.10.6"
42
42
  },
43
43
  "devDependencies": {
44
- "@module-federation/rsbuild-plugin": "^0.15.0",
44
+ "@module-federation/rsbuild-plugin": "^0.17.0",
45
45
  "@types/fs-extra": "^11.0.4",
46
46
  "cac": "^6.7.14",
47
47
  "chokidar": "^4.0.3",
48
48
  "fs-extra": "^11.3.0",
49
49
  "memfs": "^4.17.2",
50
50
  "picocolors": "1.1.1",
51
- "prebundle": "1.3.3",
51
+ "prebundle": "1.3.4",
52
52
  "rsbuild-plugin-publint": "^0.3.2",
53
- "rslib": "npm:@rslib/core@0.10.3",
54
- "rslog": "^1.2.8",
53
+ "rslib": "npm:@rslib/core@0.10.5",
54
+ "rslog": "^1.2.9",
55
55
  "tsconfck": "3.1.6",
56
56
  "typescript": "^5.8.3",
57
57
  "@rslib/tsconfig": "0.0.1"
@@ -80,6 +80,7 @@
80
80
  "build": "rslib build",
81
81
  "dev": "rslib build --watch",
82
82
  "prebundle": "prebundle",
83
+ "test": "rstest run",
83
84
  "type-check": "tsc --noEmit && tsc --noEmit -p tests"
84
85
  }
85
86
  }