-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deps): bump Rspack 1.0.0-alpha.3 (#2883)
- Loading branch information
1 parent
097c3f3
commit c7b9c96
Showing
14 changed files
with
283 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
import { build, proxyConsole, rspackOnlyTest } from '@e2e/helper'; | ||
import { expect } from '@playwright/test'; | ||
|
||
// TODO enhance-resolve on the js side cannot get the tsConfig paths configuration on the rust side | ||
rspackOnlyTest.fail( | ||
'should resolve ts paths correctly in SCSS file', | ||
async () => { | ||
const { restore } = proxyConsole(); | ||
try { | ||
const rsbuild = await build({ | ||
cwd: __dirname, | ||
}); | ||
rspackOnlyTest('should resolve ts paths correctly in SCSS file', async () => { | ||
const { restore } = proxyConsole(); | ||
try { | ||
const rsbuild = await build({ | ||
cwd: __dirname, | ||
}); | ||
|
||
const files = await rsbuild.unwrapOutputJSON(); | ||
const files = await rsbuild.unwrapOutputJSON(); | ||
|
||
const content = | ||
files[Object.keys(files).find((file) => file.endsWith('.css'))!]; | ||
const content = | ||
files[Object.keys(files).find((file) => file.endsWith('.css'))!]; | ||
|
||
expect(content).toContain('background-image:url(/static/image/icon'); | ||
} finally { | ||
restore(); | ||
} | ||
}, | ||
); | ||
expect(content).toContain('background-image:url(/static/image/icon'); | ||
} finally { | ||
restore(); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.