feat(css): support css asset in bundle mode and esm/cjs #339
Annotations
2 errors and 1 warning
Unit Test:
packages/core/tests/config.test.ts#L203
Error: Snapshot `Should compose create Rsbuild config correctly > Merge Rsbuild config 1` mismatched
- Expected
+ Received
@@ -4,10 +4,11 @@
"dev": {
"progressBar": false,
},
"mode": "production",
"output": {
+ "dataUriLimit": 0,
"distPath": {
"css": "./",
"cssAsync": "./",
"js": "./",
"jsAsync": "./",
@@ -124,10 +125,11 @@
"source": {
"entry": {},
"preEntry": "./b.js",
},
"tools": {
+ "bundlerChain": [Function],
"htmlPlugin": false,
"rspack": [
{
"experiments": {
"rspackFuture": {
@@ -243,10 +245,11 @@
"dev": {
"progressBar": false,
},
"mode": "production",
"output": {
+ "dataUriLimit": 0,
"distPath": {
"css": "./",
"cssAsync": "./",
"js": "./",
"jsAsync": "./",
@@ -366,10 +369,11 @@
"./c.js",
"./d.js",
],
},
"tools": {
+ "bundlerChain": [Function],
"htmlPlugin": false,
"rspack": [
{
"experiments": {
"rspackFuture": {
@@ -474,10 +478,11 @@
"dev": {
"progressBar": false,
},
"mode": "production",
"output": {
+ "dataUriLimit": 0,
"distPath": {
"css": "./",
"cssAsync": "./",
"js": "./",
"jsAsync": "./",
@@ -589,10 +594,11 @@
"source": {
"entry": {},
"preEntry": "./a.js",
},
"tools": {
+ "bundlerChain": [Function],
"htmlPlugin": false,
"rspack": [
{
"experiments": {
"rspackFuture": {
❯ tests/config.test.ts:203:35
|
Unit Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading