Skip to content

Commit

Permalink
Make usage example compatible with webpack 2
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 authored and TimothyGu committed Mar 14, 2017
1 parent 7459460 commit 2659db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pug loader for Webpack.
## Usage

``` javascript
var template = require("pug!./file.pug");
var template = require("pug-loader!./file.pug");
// => returns file.pug content as template function

// or, if you've bound .pug to pug-loader
Expand Down

0 comments on commit 2659db1

Please sign in to comment.