-
Notifications
You must be signed in to change notification settings - Fork 513
Conversation
fix loaders
Update README.md
|
Current coverage is 85.84% (diff: 100%)@@ master #312 diff @@
==========================================
Files 4 4
Lines 332 332
Methods 68 68
Messages 0 0
Branches 71 71
==========================================
Hits 285 285
Misses 47 47
Partials 0 0
|
@@ -78,8 +78,8 @@ module.exports = { | |||
... | |||
module: { | |||
loaders: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be rules
now
@@ -78,8 +78,8 @@ module.exports = { | |||
... | |||
module: { | |||
loaders: [ | |||
{ test: /\.scss$/i, loader: extractCSS.extract(['css','sass']) }, | |||
{ test: /\.less$/i, loader: extractLESS.extract(['css','less']) }, | |||
{ test: /\.scss$/i, loader: extractCSS.extract(['css-loader','sass-loader']) }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should loader
be use
now as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related: #265
The problem is that, if you use use:
, you get a crash.
Closing in favor of #349. |
fix for use loaders with webpack2