diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index ea152bc1..cebd8a98 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -143,6 +143,10 @@ module.exports = { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' } + }, + { + test: /\.html$/, + loader: 'html-loader' } ] }, diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index 2b05e02e..10cb74cc 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -154,6 +154,10 @@ module.exports = { limit: 10000, name: 'static/media/[name].[hash:8].[ext]' } + }, + { + test: /\.html$/, + loader: 'html-loader' } ] },