diff --git a/config/webpack/modules/html.js b/config/webpack/modules/html.js
index 05709d0a1..c325c76d2 100644
--- a/config/webpack/modules/html.js
+++ b/config/webpack/modules/html.js
@@ -3,13 +3,7 @@ const path = require('path');
module.exports = {
test: /\.html$/i,
exclude: /node_modules/,
- // type: 'asset/inline',
- // generator: {
- // dataUrl: {
- // encoding: false,
- // mimetype: 'application/javascript'
- // }
- // },
+ type: 'javascript/auto',
use: [
{
loader: 'ngtemplate-loader',