Skip to content

Commit

Permalink
adds webpack html loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Horatiu Bota committed Nov 4, 2019
1 parent fc6b953 commit 9bd46a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ module.exports = {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]'
}
},
{
test: /\.html$/,
loader: 'html-loader'
}
]
},
Expand Down
4 changes: 4 additions & 0 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ module.exports = {
limit: 10000,
name: 'static/media/[name].[hash:8].[ext]'
}
},
{
test: /\.html$/,
loader: 'html-loader'
}
]
},
Expand Down

0 comments on commit 9bd46a7

Please sign in to comment.