Skip to content

Commit

Permalink
make meta support interpolation of html-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
roadmanfong committed Sep 10, 2016
1 parent d3530f4 commit 48bb6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ module.exports = {
// resources linked with <link href="./relative/path"> HTML tags.
{
test: /\.html$/,
loader: 'html',
loader: 'html?interpolate=require',
query: {
attrs: ['link:href'],
}
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ module.exports = {
// resources linked with <link href="./relative/path"> HTML tags.
{
test: /\.html$/,
loader: 'html',
loader: 'html?interpolate=require',
query: {
attrs: ['link:href'],
}
Expand Down

0 comments on commit 48bb6cf

Please sign in to comment.