@@ -636,6 +636,111 @@ a[href=\\"\\" i] {
636
636
637
637
exports[` loader should work with empty options : warnings 1 ` ] = ` Array []` ;
638
638
639
+ exports[` loader should work with inline module syntax : errors 1 ` ] = ` Array []` ;
640
+
641
+ exports[` loader should work with inline module syntax : module 1 ` ] = `
642
+ " // Imports
643
+ import ___CSS_LOADER_API_IMPORT___ from \\" ../../src/runtime/api.js\\ " ;
644
+ import ___CSS_LOADER_AT_RULE_IMPORT_0___ from \\" other.modules.css!=!-!../../src/index.js??[ident]!./index-loader-syntax.modules.css\\ " ;
645
+ import ___CSS_LOADER_AT_RULE_IMPORT_1___ from \\" plain.scss!=!-!../../src/index.js??[ident]!./index-loader-syntax-sass.css\\ " ;
646
+ import ___CSS_LOADER_AT_RULE_IMPORT_2___ from \\" other.modules.scss!=!-!../../src/index.js??[ident]!./index-loader-syntax-sass.modules.css\\ " ;
647
+ import ___CSS_LOADER_AT_RULE_IMPORT_3___ from \\" other.modules.css!=!-!../../src/index.js??[ident]!./index-loader-syntax.modules.css\\ " ;
648
+ import ___CSS_LOADER_AT_RULE_IMPORT_4___ from \\" plain.scss!=!-!../../src/index.js??[ident]!./index-loader-syntax.modules.css\\ " ;
649
+ import ___CSS_LOADER_AT_RULE_IMPORT_5___ from \\" other.modules.scss!=!-!../../src/index.js??[ident]!./index-loader-syntax-sass.modules.css\\ " ;
650
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___ (function (i ){return i [1 ]});
651
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_0___ );
652
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_1___ );
653
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_2___ );
654
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_3___ );
655
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_4___ );
656
+ ___CSS_LOADER_EXPORT___ .i (___CSS_LOADER_AT_RULE_IMPORT_5___ );
657
+ // Module
658
+ ___CSS_LOADER_EXPORT___ .push ([module .id , \\" .a {\\\\ n color: red;\\\\ n}\\ " , \\" \\ " ]);
659
+ // Exports
660
+ export default ___CSS_LOADER_EXPORT___ ;
661
+ "
662
+ `;
663
+
664
+ exports [` loader should work with inline module syntax: result 1` ] = `
665
+ Array [
666
+ Array [
667
+ "other.modules.css!=!../../src/index.js?[ident]!./index-loader-syntax.modules.css",
668
+ "._1ZJhuRHDA53bY_Z4Qfm2b4 {
669
+ color : red ;
670
+ }
671
+
672
+ .j3CQSVq_DdDvo0Ew74yQi {
673
+ color : white ;
674
+ } ",
675
+ "",
676
+ ],
677
+ Array [
678
+ "plain.scss!=!../../src/index.js?[ident]!./index-loader-syntax-sass.css",
679
+ ".baz {
680
+ width : 5px ;
681
+ } ",
682
+ "",
683
+ ],
684
+ Array [
685
+ "other.modules.scss!=!../../src/index.js?[ident]!./index-loader-syntax-sass.modules.css",
686
+ "._1fGl5mRxLFCqIet0X3JYrB > ._2pVMnENaxk1YmKug-4EMYF {
687
+ color : red ;
688
+ } ",
689
+ "",
690
+ ],
691
+ Array [
692
+ "other.modules.css!=!../../src/index.js?[ident]!./index-loader-syntax.modules.css",
693
+ "._1ZJhuRHDA53bY_Z4Qfm2b4 {
694
+ color : red ;
695
+ }
696
+
697
+ .j3CQSVq_DdDvo0Ew74yQi {
698
+ color : white ;
699
+ }
700
+
701
+ .B7fdaUjwJ3YVou1v7dYEE {
702
+ from : custom ;
703
+ } ",
704
+ "",
705
+ ],
706
+ Array [
707
+ "other.modules.css!=!../../src/index.js?[ident]!./index-loader-syntax.modules.css",
708
+ "._1ZJhuRHDA53bY_Z4Qfm2b4 {
709
+ color : red ;
710
+ }
711
+
712
+ .j3CQSVq_DdDvo0Ew74yQi {
713
+ color : white ;
714
+ }
715
+
716
+ .B7fdaUjwJ3YVou1v7dYEE {
717
+ from : custom ;
718
+ } ",
719
+ "",
720
+ ],
721
+ Array [
722
+ "other.modules.scss!=!../../src/index.js?[ident]!./index-loader-syntax-sass.modules.css",
723
+ "._1fGl5mRxLFCqIet0X3JYrB > ._2pVMnENaxk1YmKug-4EMYF {
724
+ color : red ;
725
+ }
726
+
727
+ ._1kK_VYa-N303wnLgpvL-7d {
728
+ from : custom ;
729
+ } ",
730
+ "",
731
+ ],
732
+ Array [
733
+ "./index-loader-syntax.css",
734
+ ".a {
735
+ color : red ;
736
+ } ",
737
+ "",
738
+ ],
739
+ ]
740
+ ` ;
741
+
742
+ exports [` loader should work with inline module syntax: warnings 1` ] = ` Array []` ;
743
+
639
744
exports [` loader should work with none AST metadata: errors 1` ] = ` Array []` ;
640
745
641
746
exports [` loader should work with none AST metadata: result 1` ] = `
0 commit comments