Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/cases/assets/styles-as-assets/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rspackOnlyTest(
expect(files[test1!]).toContain('body{color:red}');
expect(files[test2!]).toContain('& .foo');
expect(files[test3!]).toContain('& .foo');
expect(files[test4!]).toContain('& .foo');
expect(files[test4!]).toContain('color yellow');
expect(await page.evaluate('window.test1')).toBe(
`http://localhost:${rsbuild.port}/static/assets/test1.css`,
);
Expand Down
8 changes: 3 additions & 5 deletions e2e/cases/assets/styles-as-assets/src/test4.styl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
body {
& .foo {
color: yellow;
}
}
body
.foo
color yellow
10 changes: 5 additions & 5 deletions e2e/cases/solid/stylus/src/App.styl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
color = #ff3e00;
color = #ff3e00

.main
h1
color: color
text-transform: uppercase
font-size: 4em
font-weight: 100
color color
text-transform uppercase
font-size 4em
font-weight 100
2 changes: 1 addition & 1 deletion e2e/cases/stylus/basic/src/b.module.styl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.title-class
font-size: 14px;
font-size 14px
2 changes: 1 addition & 1 deletion e2e/cases/stylus/environment/src/b.module.styl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.title-class
font-size: 14px;
font-size 14px
2 changes: 1 addition & 1 deletion e2e/cases/stylus/rem/src/b.module.styl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.title-class
font-size: 14px;
font-size 14px
2 changes: 1 addition & 1 deletion packages/core/src/createRsbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export async function createRsbuild(
return;
}

// The current environment is not specified, skip it
// If the current environment is not specified, skip it
if (
context.specifiedEnvironments &&
!context.specifiedEnvironments.includes(name)
Expand Down
Loading