Skip to content

Commit

Permalink
fix(index): update syntax to match latest extract-text-webpack-plugin…
Browse files Browse the repository at this point in the history
…@rc3 (#34)
  • Loading branch information
pndewit authored and niieani committed Feb 8, 2017
1 parent 14254ba commit 63f393e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"css-loader": "^0.26.0",
"extract-text-webpack-plugin": "^2.0.0-beta",
"extract-text-webpack-plugin": "^2.0.0-rc.3",
"resolve-url-loader": "^1.6.0",
"style-loader": "^0.13.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export = function css({ filename = '[name].css', allChunks = false, sourceMap =
rules: get(this, 'module.rules', []).concat([{
test,
use: extractCss ?
extractText.extract({ fallbackLoader: loaders[0], loader: loaders.slice(1) }) :
extractText.extract({ fallback: loaders[0], use: loaders.slice(1) }) :
loaders
}])
},
Expand Down

0 comments on commit 63f393e

Please sign in to comment.