File tree 5 files changed +37
-0
lines changed
test/cases/mergePropertiesForSelectorWithOtherStylesPresentIssue52
5 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # root {
2
+ background-color : # f00 ;
3
+ }
4
+ body {
5
+ text-align : center;
6
+ }
Original file line number Diff line number Diff line change
1
+ # root {
2
+ width : 640px ;
3
+ height : 360px ;
4
+ }
Original file line number Diff line number Diff line change
1
+ # root {width : 640px ;height : 360px ;background-color : red}body {text-align : center}
Original file line number Diff line number Diff line change
1
+ require ( './a.css' ) ;
2
+ require ( './b.css' ) ;
Original file line number Diff line number Diff line change
1
+ import ExtractTextPlugin from 'extract-text-webpack-plugin' ;
2
+ import OptimizeCssAssetsPlugin from '../../../src/' ;
3
+
4
+ module . exports = {
5
+ entry : './index' ,
6
+ module : {
7
+ rules : [
8
+ {
9
+ test : / \. c s s $ / ,
10
+ use : ExtractTextPlugin . extract ( {
11
+ fallback : { loader : 'style-loader' } ,
12
+ use : {
13
+ loader : 'css-loader' ,
14
+ options : { minimize : true }
15
+ }
16
+ } )
17
+ } ,
18
+ ] ,
19
+ } ,
20
+ plugins : [
21
+ new ExtractTextPlugin ( 'file.css' ) ,
22
+ new OptimizeCssAssetsPlugin ( )
23
+ ] ,
24
+ } ;
You can’t perform that action at this time.
0 commit comments