Skip to content

Commit

Permalink
chore: update to html-loader 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Feb 19, 2021
1 parent 1f7ce7e commit 20bf6f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/custom-template/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<%= require('html-loader!./partial.html') %>
<%= require('html-loader!./partial.html').default %>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/javascript-advanced/template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Webpack require:
var partial = require('./partial.html');
var partial = require('./partial.html').default;
var universal = require('./universial.js');

// Export a function / promise / or a string:
Expand Down
2 changes: 1 addition & 1 deletion examples/javascript/template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Webpack require:
var partial = require('./partial.html');
var partial = require('./partial.html').default;
var universal = require('./universial.js');

// Export a function / promise / or a string:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"css-loader": "5.0.1",
"cz-conventional-changelog": "2.1.0",
"dir-compare": "1.7.2",
"file-loader": "6.2.0",
"html-loader": "1.3.2",
"html-loader": "2.0.0",
"jest": "26.5.3",
"mini-css-extract-plugin": "1.0.0",
"pug": "2.0.3",
Expand Down

0 comments on commit 20bf6f2

Please sign in to comment.