Skip to content

Commit

Permalink
docs: Fix asStream example (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Apr 26, 2022
1 parent 3f63c69 commit eb3f39a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,13 @@ module.exports = {
rules: [
{
test: /\.ya?ml$/,
type: 'json', // Required by Webpack v4
oneOf: [
{
resourceQuery: /stream/,
options: { asStream: true },
use: 'yaml-loader'
loader: 'yaml-loader'
},
{ use: 'yaml-loader' }
{ loader: 'yaml-loader' }
]
}
]
Expand Down

0 comments on commit eb3f39a

Please sign in to comment.