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 {
3030 ] ,
3131 loaders : [
3232 {
33- test : / \. c s s $ / ,
33+ test : / \. c s s m o d u l e \. c s s $ / ,
3434 loaders : [
3535 'style' ,
3636 'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]'
3737 ]
3838 } ,
3939 {
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'
7042 } ,
7143 {
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 ) $ / ,
7345 loader : 'null-loader'
7446 } ,
7547 {
You can’t perform that action at this time.
0 commit comments