Skip to content

Commit 73539b0

Browse files
committed
Merge pull request MoOx#8 from nthtran/master
fix `import`
2 parents 7848ee6 + c7b79f5 commit 73539b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function cssnextLoader(contents, map){
2121
this.cacheable()
2222
var options = assign({}, defaultOptions(this, map), this.options.cssnext)
2323
options.features = assign({}, this.options.cssnext ? this.options.cssnext.features : null)
24-
options.features.import = assign({}, options.features.import || null)
25-
options.features.import.onImport = function(files){
24+
options.import = assign({}, options.import || null)
25+
options.import.onImport = function(files){
2626
files.forEach(this.addDependency)
2727
}.bind(this)
2828
try {

0 commit comments

Comments
 (0)