@@ -443,3 +443,87 @@ You may need an appropriate loader to handle this file type.
443
443
` ;
444
444
445
445
exports [` loader should throws error when no loader for assets: warnings 1` ] = ` Array []` ;
446
+
447
+ exports [` loader using together with "postcss-loader": errors 1` ] = ` Array []` ;
448
+
449
+ exports [` loader using together with "postcss-loader": module (evaluated) 1` ] = `
450
+ Array [
451
+ Array [
452
+ 1,
453
+ ":root {
454
+ -- fontSize : 1rem ;
455
+ -- mainColor : rgba (18 ,52 ,86 ,0.47059 );
456
+ -- secondaryColor : rgba (102 , 51 , 153 , 0.9 );
457
+ }
458
+
459
+ html {
460
+ overflow - x : hidden ;
461
+ overflow - y : auto ;
462
+ overflow : hidden auto ;
463
+ }
464
+
465
+ @media (max-width: 50rem) {
466
+ body {
467
+ color: rgba (18 ,52 ,86 ,0.47059 );
468
+ color : var (-- mainColor );
469
+ font - family : system - ui , -apple-system , Segoe UI , Roboto , Ubuntu , Cantarell , Noto Sans , sans-serif;
470
+ font-size: 1rem ;
471
+ font - size : var (-- fontSize );
472
+ line - height : calc (1rem * 1.5 );
473
+ line - height : calc (var (-- fontSize ) * 1.5 );
474
+ word - wrap : break - word ;
475
+ padding - left : calc (1rem / 2 + 1px );
476
+ padding - right : calc (1rem / 2 + 1px );
477
+ padding - left : calc (var (-- fontSize ) / 2 + 1px );
478
+ padding - right : calc (var (-- fontSize ) / 2 + 1px );
479
+ }
480
+ }
481
+
482
+ h1,h2,h3,h4,h5,h6 {
483
+ margin - top : 0 ;
484
+ margin - bottom : 0 ;
485
+ }
486
+
487
+ main.hero, .hero.main {
488
+ background - image : img1x .png ;
489
+ }
490
+
491
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
492
+
493
+ main .hero , .hero .main {
494
+ background-image: img2x .png ;
495
+ }
496
+ }
497
+
498
+ main.hero, .hero.main {
499
+ background - image : - webkit - image - set (url (/ webpack / public / path / img1x .png ) 1x , url (/ webpack / public / path / img2x .png ) 2x );
500
+ background - image : image - set (\\" img1x.png\\ " 1x , \\" img2x.png\\ " 2x );
501
+ }
502
+
503
+ a {
504
+ color : rgba (0 , 0 , 255 , 0.9 )
505
+ }
506
+
507
+ a:hover {
508
+ color : #639 ;
509
+ }
510
+ ",
511
+ "",
512
+ ],
513
+ ]
514
+ ` ;
515
+
516
+ exports [` loader using together with "postcss-loader": module 1` ] = `
517
+ "var escape = require(\\ "../../../lib/runtime/escape.js\\ ");
518
+ exports = module.exports = require(\\ "../../../lib/runtime/api.js\\ ")(false);
519
+ // imports
520
+
521
+
522
+ // module
523
+ exports.push([module.id, \\":root {\\\\n --fontSize: 1rem;\\\\n --mainColor: rgba(18,52,86,0.47059);\\\\n --secondaryColor: rgba(102, 51, 153, 0.9);\\\\n}\\\\n\\\\nhtml {\\\\n overflow-x: hidden;\\\\n overflow-y: auto;\\\\n overflow: hidden auto;\\\\n}\\\\n\\\\n@media (max-width: 50rem) {\\\\n body {\\\\n color: rgba(18,52,86,0.47059);\\\\n color: var(--mainColor);\\\\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;\\\\n font-size: 1rem;\\\\n font-size: var(--fontSize);\\\\n line-height: calc(1rem * 1.5);\\\\n line-height: calc(var(--fontSize) * 1.5);\\\\n word-wrap: break-word;\\\\n padding-left: calc(1rem / 2 + 1px);\\\\n padding-right: calc(1rem / 2 + 1px);\\\\n padding-left: calc(var(--fontSize) / 2 + 1px);\\\\n padding-right: calc(var(--fontSize) / 2 + 1px);\\\\n }\\\\n}\\\\n\\\\nh1,h2,h3,h4,h5,h6 {\\\\n margin-top: 0;\\\\n margin-bottom: 0;\\\\n}\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: img1x.png;\\\\n}\\\\n\\\\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: img2x.png;\\\\n}\\\\n}\\\\n\\\\nmain.hero, .hero.main {\\\\n background-image: -webkit-image-set(url(\\" + escape(require(\\"./img1x.png\\")) + \\") 1x, url(\\" + escape(require(\\"./img2x.png\\")) + \\") 2x);\\\\n background-image: image-set(\\\\\\"img1x.png\\\\\\" 1x, \\\\\\"img2x.png\\\\\\" 2x);\\\\n}\\\\n\\\\na {\\\\n color: rgba(0, 0, 255, 0.9)\\\\n}\\\\n\\\\na:hover {\\\\n color: #639;\\\\n }\\\\n\\", \\"\\"]);
524
+
525
+ // exports
526
+ "
527
+ ` ;
528
+
529
+ exports [` loader using together with "postcss-loader": warnings 1` ] = ` Array []` ;
0 commit comments