@rstest/adapter-rsbuild 0.2.5 → 0.2.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.
package/README.md CHANGED
@@ -18,7 +18,7 @@ import { withRsbuildConfig } from '@rstest/adapter-rsbuild';
18
18
 
19
19
  export default defineConfig({
20
20
  extends: withRsbuildConfig(),
21
- // other rstest config options
21
+ // other Rstest config options
22
22
  });
23
23
  ```
24
24
 
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ function toRstestConfig({ environmentName, rsbuildConfig: rawRsbuildConfig, modi
5
5
  const rsbuildConfig = environmentConfig ? mergeRsbuildConfig(rawBuildConfig, environmentConfig) : rawBuildConfig;
6
6
  const finalBuildConfig = modifyRsbuildConfig ? modifyRsbuildConfig(rsbuildConfig) : rsbuildConfig;
7
7
  const { rspack, swc, bundlerChain } = finalBuildConfig.tools || {};
8
- const { cssModules, target, module } = finalBuildConfig.output || {};
8
+ const { cssModules, emitAssets, target, module } = finalBuildConfig.output || {};
9
9
  const { assetsInclude, decorators, define, include, exclude, tsconfigPath, transformImport } = finalBuildConfig.source || {};
10
10
  return {
11
11
  root: finalBuildConfig.root,
@@ -32,6 +32,7 @@ function toRstestConfig({ environmentName, rsbuildConfig: rawRsbuildConfig, modi
32
32
  resolve: finalBuildConfig.resolve,
33
33
  output: {
34
34
  cssModules,
35
+ emitAssets,
35
36
  module
36
37
  },
37
38
  tools: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rstest/adapter-rsbuild",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Rstest adapter for rsbuild configuration",
5
5
  "keywords": [
6
6
  "rstest",
@@ -30,9 +30,9 @@
30
30
  "dist"
31
31
  ],
32
32
  "devDependencies": {
33
- "@rsbuild/core": "2.0.0-rc.0",
34
- "@rslib/core": "0.20.2",
35
- "@rstest/core": "0.9.6",
33
+ "@rsbuild/core": "2.0.0-rc.1",
34
+ "@rslib/core": "0.21.0",
35
+ "@rstest/core": "0.9.7",
36
36
  "@rstest/tsconfig": "0.0.1"
37
37
  },
38
38
  "peerDependencies": {