feat: support platform #63
Annotations
2 errors and 2 warnings
packages/core/tests/config.test.ts > Should compose create Rsbuild config correctly > Merge Rsbuild config:
packages/core/tests/config.test.ts#L183
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched
- Expected
+ Received
@@ -22,10 +22,11 @@
],
},
"tools": {
"htmlPlugin": false,
"rspack": {
+ "externalsType": "commonjs",
"output": {
"library": {
"type": "commonjs",
},
},
@@ -54,15 +55,16 @@
"htmlPlugin": false,
"rspack": {
"experiments": {
"outputModule": true,
},
+ "externalsType": "module",
"optimization": {
"concatenateModules": true,
},
"output": {
- "iife": false,
+ "chunkFormat": "module",
"library": {
"type": "modern-module",
},
"module": true,
},
@@ -88,10 +90,11 @@
"preEntry": "./a.js",
},
"tools": {
"htmlPlugin": false,
"rspack": {
+ "externalsType": "umd",
"output": {
"library": {
"type": "umd",
},
},
❯ packages/core/tests/config.test.ts:183:35
|
ut-mac (18.x)
Process completed with exit code 1.
|
ut-mac (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
e2e-ubuntu (18.x)
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|