File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ postcssImport({
4141})
4242```
4343
44+ - Changed: support promise in ` transform ` option and ` undefined ` result will be skipped
45+ ([ #147 ] ( https://github.com/postcss/postcss-import/pull/147 ) )
46+
4447# 7.1.3 - 2015-11-05
4548
4649- Fixed: ensure node 0.12 compatibility, round 2
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ _Note: nested `@import` will additionally benefit of the relative dirname of imp
109109Type: ` Function `
110110Default: ` null `
111111
112- A function to transform the content of imported files. Take one argument (file content) & should return the modified content.
112+ A function to transform the content of imported files. Take one argument (file content) and should return the modified content or promise with it.
113+ ` undefined ` result will be skipped.
113114
114115#### ` plugins `
115116
You can’t perform that action at this time.
0 commit comments