-
-
Notifications
You must be signed in to change notification settings - Fork 198
Fix invalid syntax in code sample #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -134,9 +134,9 @@ module.exports = { | |
| rules: [ | ||
| { | ||
| test: /\.less$/, | ||
| use: ExtractTextPlugin.extract( | ||
| use: ExtractTextPlugin.extract({ | ||
| fallbackLoader: 'style-loader', | ||
| loaders: [ | ||
| use: [ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is right man!! Take a time for read little more about features webpack 2, because all examples described on README are using webpack 2 and in webpack 2, it's used
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm using Webpack ^2.2.0 and "loaders" is not valid. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because needs use |
||
| // activate source maps via loader query | ||
| { | ||
| loader: 'css-loader', | ||
|
|
@@ -147,7 +147,7 @@ module.exports = { | |
| options: { sourceMap: true } | ||
| } | ||
| ] | ||
| ) | ||
| }) | ||
| } | ||
| ] | ||
| }, | ||
|
|
||
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.
And this issue was fixed on my pr #140, look!!
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.
Look at #127 then.
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.
Oh my!!! This is need be update