We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f4f6a8 commit 79546daCopy full SHA for 79546da
tests/e2e/tests/build/styles/inline-urls.ts
@@ -54,7 +54,7 @@ export default function () {
54
.then(() => expectFileToMatch('dist/main.bundle.js',
55
/url\(\\?[\'"]data:image\/svg\+xml/))
56
57
- /url\([\'"]?large\.[0-9a-f]{20}\.png[\'"]?\)/))
+ /url\((?:[\'"]|\\')?large\.[0-9a-f]{20}\.png(?:[\'"]|\\')?\)/))
58
// Check files are correctly created.
59
.then(() => expectToFail(() => expectFileToExist('dist/small.svg')))
60
.then(() => expectFileMatchToExist('./dist', /large\.[0-9a-f]{20}\.png/))
0 commit comments