Vite: Process <style>
blocks inside Svelte files as a post-processor
#3543
Annotations
4 errors
vite/svelte.test.ts > production build:
integrations/vite/svelte.test.ts#L110
AssertionError: expected '\u001b[36mvite v6.0.7 \u001b[32mbuild…' not to contain 'vite-plugin-svelte'
- Expected
+ Received
- vite-plugin-svelte
+ vite v6.0.7 building for production...
+ transforming...
+ ✓ 92 modules transformed.
+ rendering chunks...
+ computing gzip size...
+ dist/index.html 0.23 kB │ gzip: 0.18 kB
+ dist/assets/index-DDLFN03I.css 22.25 kB │ gzip: 6.08 kB
+ dist/assets/index-DAGZA_Q9.js 10.80 kB │ gzip: 4.75 kB
+ ✓ built in 685ms
+
+
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:502:0 Unused CSS selector "html"
+ https://svelte.dev/e/css_unused_selector
+ 500: */
+ 501:
+ 502: html,
+ ^
+ 503: :host {
+ 504: line-height: 1.5; /* 1 */
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:526:0 Unused CSS selector "body"
+ https://svelte.dev/e/css_unused_selector
+ 524: */
+ 525:
+ 526: body {
+ ^
+ 527: line-height: inherit;
+ 528: }
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:536:0 Unused CSS selector "hr"
+ https://svelte.dev/e/css_unused_selector
+ 534: */
+ 535:
+ 536: hr {
+ ^
+ 537: height: 0; /* 1 */
+ 538: color: inherit; /* 2 */
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:546:0 Unused CSS selector "abbr:where([title])"
+ https://svelte.dev/e/css_unused_selector
+ 544: */
+ 545:
+ 546: abbr:where([title]) {
+ ^
+ 547: -webkit-text-decoration: underline dotted;
+ 548: text-decoration: underline dotted;
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:556:0 Unused CSS selector "h2"
+ https://svelte.dev/e/css_unused_selector
+ 554:
+ 555: h1,
+ 556: h2,
+ ^
+ 557: h3,
+ 558: h4,
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:557:0 Unused CSS selector "h3"
+ https://svelte.dev/e/css_unused_selector
+ 555: h1,
+ 556: h2,
+ 557: h3,
+ ^
+ 558: h4,
+ 559: h5,
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:558:0 Unused CSS selector "h4"
+ https://svelte.dev/e/css_unused_selector
+ 556: h2,
+ 557: h3,
+ 558: h4,
+ ^
+ 559: h5,
+ 560: h6 {
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:559:0 Unused CSS selector "h5"
+ https://svelte.dev/e/css_unused_selector
+ 557: h3,
+ 558: h4,
+ 559: h5,
+ ^
+ 560: h6 {
+ 561: font-size: inherit;
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:560:0 Unused CSS selector "h6"
+ https://svelte.dev/e/css_unused_selector
+ 558: h4,
+ 559: h5,
+ 560: h6 {
+ ^
+ 561: font-size: inherit;
+ 562: font-weight: inherit;
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:569:0 Unused CSS selector "a"
+ https://svelte.dev/e/css_unused_selector
+ 567: */
+ 568:
+ 569: a {
+ ^
+ 570: color: inherit;
+ 571: -webkit-text-decoration: inherit;
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:579:0 Unused CSS selector "b"
+ https://svelte.dev/e/css_unused_selector
+ 577: */
+ 578:
+ 579: b,
+ ^
+ 580: strong {
+ 581: font-weight: bolder;
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:580:0 Unused CSS selector "strong"
+ https://svelte.dev/e/css_unused_selector
+ 578:
+ 579: b,
+ 580: strong {
+ ^
+ 581: font-weight: bolder;
+ 582: }
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:591:0 Unused CSS selector "code"
+ https://svelte.dev/e/css_unused_selector
+ 589: */
+ 590:
+ 591: code,
+ ^
+ 592: kbd,
+ 593: samp,
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:592:0 Unused CSS selector "kbd"
+ https://svelte.dev/e/css_unused_selector
+ 590:
+ 591: code,
+ 592: kbd,
+ ^
+ 593: samp,
+ 594: pre {
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:593:0 Unused CSS selector "samp"
+ https://svelte.dev/e/css_unused_selector
+ 591: code,
+ 592: kbd,
+ 593: samp,
+ ^
+ 594: pre {
+ 595: font-family: var(
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:594:0 Unused CSS selector "pre"
+ https://svelte.dev/e/css_unused_selector
+ 592: kbd,
+ 593: samp,
+ 594: pre {
+ ^
+ 595: font-family: var(
+ 596: --default-mono-font-family,
+ 1:10:54 PM [vite-plugin-svelte] src/App.svelte:615:0 Unused CSS selector "small"
+ https://svelte.dev/e/css_unused_selector
+ 613: */
+ 614:
+ 615: sma
|
vite/svelte.test.ts > production build:
integrations/vite/svelte.test.ts#L110
AssertionError: expected '\u001b[36mvite v6.0.7 \u001b[32mbuild…' not to contain 'vite-plugin-svelte'
- Expected
+ Received
- vite-plugin-svelte
+ vite v6.0.7 building for production...
+ transforming...
+ ✓ 92 modules transformed.
+ rendering chunks...
+ computing gzip size...
+ dist/index.html 0.23 kB │ gzip: 0.18 kB
+ dist/assets/index-DDLFN03I.css 22.25 kB │ gzip: 6.08 kB
+ dist/assets/index-DAGZA_Q9.js 10.80 kB │ gzip: 4.75 kB
+ ✓ built in 966ms
+
+
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:502:0 Unused CSS selector "html"
+ https://svelte.dev/e/css_unused_selector
+ 500: */
+ 501:
+ 502: html,
+ ^
+ 503: :host {
+ 504: line-height: 1.5; /* 1 */
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:526:0 Unused CSS selector "body"
+ https://svelte.dev/e/css_unused_selector
+ 524: */
+ 525:
+ 526: body {
+ ^
+ 527: line-height: inherit;
+ 528: }
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:536:0 Unused CSS selector "hr"
+ https://svelte.dev/e/css_unused_selector
+ 534: */
+ 535:
+ 536: hr {
+ ^
+ 537: height: 0; /* 1 */
+ 538: color: inherit; /* 2 */
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:546:0 Unused CSS selector "abbr:where([title])"
+ https://svelte.dev/e/css_unused_selector
+ 544: */
+ 545:
+ 546: abbr:where([title]) {
+ ^
+ 547: -webkit-text-decoration: underline dotted;
+ 548: text-decoration: underline dotted;
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:556:0 Unused CSS selector "h2"
+ https://svelte.dev/e/css_unused_selector
+ 554:
+ 555: h1,
+ 556: h2,
+ ^
+ 557: h3,
+ 558: h4,
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:557:0 Unused CSS selector "h3"
+ https://svelte.dev/e/css_unused_selector
+ 555: h1,
+ 556: h2,
+ 557: h3,
+ ^
+ 558: h4,
+ 559: h5,
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:558:0 Unused CSS selector "h4"
+ https://svelte.dev/e/css_unused_selector
+ 556: h2,
+ 557: h3,
+ 558: h4,
+ ^
+ 559: h5,
+ 560: h6 {
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:559:0 Unused CSS selector "h5"
+ https://svelte.dev/e/css_unused_selector
+ 557: h3,
+ 558: h4,
+ 559: h5,
+ ^
+ 560: h6 {
+ 561: font-size: inherit;
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:560:0 Unused CSS selector "h6"
+ https://svelte.dev/e/css_unused_selector
+ 558: h4,
+ 559: h5,
+ 560: h6 {
+ ^
+ 561: font-size: inherit;
+ 562: font-weight: inherit;
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:569:0 Unused CSS selector "a"
+ https://svelte.dev/e/css_unused_selector
+ 567: */
+ 568:
+ 569: a {
+ ^
+ 570: color: inherit;
+ 571: -webkit-text-decoration: inherit;
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:579:0 Unused CSS selector "b"
+ https://svelte.dev/e/css_unused_selector
+ 577: */
+ 578:
+ 579: b,
+ ^
+ 580: strong {
+ 581: font-weight: bolder;
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:580:0 Unused CSS selector "strong"
+ https://svelte.dev/e/css_unused_selector
+ 578:
+ 579: b,
+ 580: strong {
+ ^
+ 581: font-weight: bolder;
+ 582: }
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:591:0 Unused CSS selector "code"
+ https://svelte.dev/e/css_unused_selector
+ 589: */
+ 590:
+ 591: code,
+ ^
+ 592: kbd,
+ 593: samp,
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:592:0 Unused CSS selector "kbd"
+ https://svelte.dev/e/css_unused_selector
+ 590:
+ 591: code,
+ 592: kbd,
+ ^
+ 593: samp,
+ 594: pre {
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:593:0 Unused CSS selector "samp"
+ https://svelte.dev/e/css_unused_selector
+ 591: code,
+ 592: kbd,
+ 593: samp,
+ ^
+ 594: pre {
+ 595: font-family: var(
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:594:0 Unused CSS selector "pre"
+ https://svelte.dev/e/css_unused_selector
+ 592: kbd,
+ 593: samp,
+ 594: pre {
+ ^
+ 595: font-family: var(
+ 596: --default-mono-font-family,
+ 1:10:58 PM [vite-plugin-svelte] src/App.svelte:615:0 Unused CSS selector "small"
+ https://svelte.dev/e/css_unused_selector
+ 613: */
+ 614:
+ 615: sma
|
vite/svelte.test.ts > production build:
integrations/vite/svelte.test.ts#L110
AssertionError: expected '\u001b[36mvite v6.0.7 \u001b[32mbuild…' not to contain 'vite-plugin-svelte'
- Expected
+ Received
- vite-plugin-svelte
+ vite v6.0.7 building for production...
+ transforming...
+ ✓ 92 modules transformed.
+ rendering chunks...
+ computing gzip size...
+ dist/index.html 0.23 kB │ gzip: 0.18 kB
+ dist/assets/index-DDLFN03I.css 22.25 kB │ gzip: 6.08 kB
+ dist/assets/index-DAGZA_Q9.js 10.80 kB │ gzip: 4.75 kB
+ ✓ built in 689ms
+
+
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:502:0 Unused CSS selector "html"
+ https://svelte.dev/e/css_unused_selector
+ 500: */
+ 501:
+ 502: html,
+ ^
+ 503: :host {
+ 504: line-height: 1.5; /* 1 */
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:526:0 Unused CSS selector "body"
+ https://svelte.dev/e/css_unused_selector
+ 524: */
+ 525:
+ 526: body {
+ ^
+ 527: line-height: inherit;
+ 528: }
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:536:0 Unused CSS selector "hr"
+ https://svelte.dev/e/css_unused_selector
+ 534: */
+ 535:
+ 536: hr {
+ ^
+ 537: height: 0; /* 1 */
+ 538: color: inherit; /* 2 */
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:546:0 Unused CSS selector "abbr:where([title])"
+ https://svelte.dev/e/css_unused_selector
+ 544: */
+ 545:
+ 546: abbr:where([title]) {
+ ^
+ 547: -webkit-text-decoration: underline dotted;
+ 548: text-decoration: underline dotted;
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:556:0 Unused CSS selector "h2"
+ https://svelte.dev/e/css_unused_selector
+ 554:
+ 555: h1,
+ 556: h2,
+ ^
+ 557: h3,
+ 558: h4,
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:557:0 Unused CSS selector "h3"
+ https://svelte.dev/e/css_unused_selector
+ 555: h1,
+ 556: h2,
+ 557: h3,
+ ^
+ 558: h4,
+ 559: h5,
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:558:0 Unused CSS selector "h4"
+ https://svelte.dev/e/css_unused_selector
+ 556: h2,
+ 557: h3,
+ 558: h4,
+ ^
+ 559: h5,
+ 560: h6 {
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:559:0 Unused CSS selector "h5"
+ https://svelte.dev/e/css_unused_selector
+ 557: h3,
+ 558: h4,
+ 559: h5,
+ ^
+ 560: h6 {
+ 561: font-size: inherit;
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:560:0 Unused CSS selector "h6"
+ https://svelte.dev/e/css_unused_selector
+ 558: h4,
+ 559: h5,
+ 560: h6 {
+ ^
+ 561: font-size: inherit;
+ 562: font-weight: inherit;
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:569:0 Unused CSS selector "a"
+ https://svelte.dev/e/css_unused_selector
+ 567: */
+ 568:
+ 569: a {
+ ^
+ 570: color: inherit;
+ 571: -webkit-text-decoration: inherit;
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:579:0 Unused CSS selector "b"
+ https://svelte.dev/e/css_unused_selector
+ 577: */
+ 578:
+ 579: b,
+ ^
+ 580: strong {
+ 581: font-weight: bolder;
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:580:0 Unused CSS selector "strong"
+ https://svelte.dev/e/css_unused_selector
+ 578:
+ 579: b,
+ 580: strong {
+ ^
+ 581: font-weight: bolder;
+ 582: }
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:591:0 Unused CSS selector "code"
+ https://svelte.dev/e/css_unused_selector
+ 589: */
+ 590:
+ 591: code,
+ ^
+ 592: kbd,
+ 593: samp,
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:592:0 Unused CSS selector "kbd"
+ https://svelte.dev/e/css_unused_selector
+ 590:
+ 591: code,
+ 592: kbd,
+ ^
+ 593: samp,
+ 594: pre {
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:593:0 Unused CSS selector "samp"
+ https://svelte.dev/e/css_unused_selector
+ 591: code,
+ 592: kbd,
+ 593: samp,
+ ^
+ 594: pre {
+ 595: font-family: var(
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:594:0 Unused CSS selector "pre"
+ https://svelte.dev/e/css_unused_selector
+ 592: kbd,
+ 593: samp,
+ 594: pre {
+ ^
+ 595: font-family: var(
+ 596: --default-mono-font-family,
+ 1:11:02 PM [vite-plugin-svelte] src/App.svelte:615:0 Unused CSS selector "small"
+ https://svelte.dev/e/css_unused_selector
+ 613: */
+ 614:
+ 615: sma
|
Linux / vite
Process completed with exit code 1.
|