Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

Commit 4ca1484

Browse files
committed
Update README for consistent -loader suffix to reflect Webpack 2 changes
1 parent 889c66d commit 4ca1484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ console.log(appConfig.env) // 'production'
6666
```
6767
#### Usage with require statement loader prefix
6868
```js
69-
var appConfig = require("json5!./appData.json5")
69+
var appConfig = require("json5-loader!./appData.json5")
7070
// returns the content as json parsed object
7171

7272
console.log(appConfig.env) // 'production'

0 commit comments

Comments
 (0)