File tree Expand file tree Collapse file tree 1 file changed +4
-32
lines changed Expand file tree Collapse file tree 1 file changed +4
-32
lines changed Original file line number Diff line number Diff line change @@ -30,46 +30,18 @@ class WebpackTestConfig extends WebpackBaseConfig {
30
30
] ,
31
31
loaders : [
32
32
{
33
- test : / \. c s s $ / ,
33
+ test : / \. c s s m o d u l e \. c s s $ / ,
34
34
loaders : [
35
35
'style' ,
36
36
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]'
37
37
]
38
38
} ,
39
39
{
40
- test : / \. s a s s $ / ,
41
- loaders : [
42
- 'style' ,
43
- 'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]' ,
44
- 'sass'
45
- ]
46
- } ,
47
- {
48
- test : / \. s c s s $ / ,
49
- loaders : [
50
- 'style' ,
51
- 'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]' ,
52
- 'sass'
53
- ]
54
- } ,
55
- {
56
- test : / \. l e s s $ / ,
57
- loaders : [
58
- 'style' ,
59
- 'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]' ,
60
- 'less'
61
- ]
62
- } ,
63
- {
64
- test : / \. s t y l $ / ,
65
- loaders : [
66
- 'style' ,
67
- 'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]' ,
68
- 'stylus'
69
- ]
40
+ test : / ^ .( (? ! c s s m o d u l e ) .) * \. c s s $ / ,
41
+ loader : 'null-loader'
70
42
} ,
71
43
{
72
- test : / \. ( p n g | j p g | g i f | m p 4 | o g g | s v g | w o f f | w o f f 2 ) $ / ,
44
+ test : / \. ( s a s s | s c s s | l e s s | s t y l | p n g | j p g | g i f | m p 4 | o g g | s v g | w o f f | w o f f 2 ) $ / ,
73
45
loader : 'null-loader'
74
46
} ,
75
47
{
You can’t perform that action at this time.
0 commit comments