Import server-rendered template as plain text + add title tag. Closes #2161

This commit is contained in:
Gabe Kangas
2022-10-20 19:40:33 -07:00
parent 521e12bd5c
commit 2c45b420e5
4 changed files with 40 additions and 36 deletions
+5
View File
@@ -9,6 +9,11 @@ module.exports = withLess({
use: ['@svgr/webpack'],
});
config.module.rules.push({
test: /\.html/,
type: 'asset/source',
});
return config;
},
async rewrites() {