File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ module.exports = function (source, map) {
48
48
var options = params . plugins || loader . options . postcss ;
49
49
var pack = params . pack ;
50
50
var callback = loader . async ( ) ;
51
+
51
52
var configPath ;
52
53
53
54
if ( params . config ) {
@@ -72,6 +73,9 @@ module.exports = function (source, map) {
72
73
}
73
74
} ) . then ( function ( config ) {
74
75
if ( ! config ) config = { } ;
76
+
77
+ if ( config . file ) loader . addDependency ( config . file ) ;
78
+
75
79
var plugins = config . plugins || [ ] ;
76
80
77
81
var opts = assign ( { } , config . options , {
Original file line number Diff line number Diff line change 2
2
"name" : " postcss-loader" ,
3
3
"version" : " 1.2.1" ,
4
4
"description" : " PostCSS loader for webpack" ,
5
- "engines" : {
6
- "node" : " >=0.12" ,
7
- "npm" : " >=3"
8
- },
5
+ "engines" : { "node" : " >=0.12" },
9
6
"keywords" : [
10
7
" webpack" ,
11
8
" loader" ,
19
16
"dependencies" : {
20
17
"loader-utils" : " ^0.2.16" ,
21
18
"object-assign" : " ^4.1.0" ,
22
- "postcss" : " ^5.2.8 " ,
23
- "postcss-load-config" : " ^1.0 .0"
19
+ "postcss" : " ^5.2.9 " ,
20
+ "postcss-load-config" : " ^1.1 .0"
24
21
},
25
22
"devDependencies" : {
26
23
"eslint" : " ^3.12.2" ,
You can’t perform that action at this time.
0 commit comments