File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -69,27 +69,16 @@ describe("loader", function() {
69
69
loader . call ( {
70
70
minimize : true ,
71
71
options : {
72
- htmlLoader : {
73
- ignoreCustomFragments : [ / \{ \{ .* ?} } / ]
72
+ vue : {
73
+ html : {
74
+ ignoreCustomFragments : [ / \{ \{ .* ?} } / ]
75
+ }
74
76
}
75
77
}
76
78
} , '<h3>{{ count <= 1 ? "foo" : "bar" }}</h3>' ) . should . be . eql (
77
79
'module.exports = "<h3>{{ count <= 1 ? \\"foo\\" : \\"bar\\" }}</h3>";'
78
80
) ;
79
81
} ) ;
80
- it ( "should allow the webpack config property name to be configured" , function ( ) {
81
- loader . call ( {
82
- minimize : true ,
83
- options : {
84
- htmlLoaderSuperSpecialConfig : {
85
- ignoreCustomFragments : [ / \{ \{ .* ?} } / ]
86
- }
87
- } ,
88
- query : '?config=htmlLoaderSuperSpecialConfig'
89
- } , '<h3>{{ count <= 1 ? "foo" : "bar" }}</h3>' ) . should . be . eql (
90
- 'module.exports = "<h3>{{ count <= 1 ? \\"foo\\" : \\"bar\\" }}</h3>";'
91
- ) ;
92
- } ) ;
93
82
it ( 'should minimize vue template' , function ( ) {
94
83
loader . call ( {
95
84
minimize : true
You can’t perform that action at this time.
0 commit comments