WIP: transforming through handlebars, parsing the html and resolving the imports

This commit is contained in:
2023-04-27 15:18:14 +02:00
parent da9dc3bdc1
commit 240d5cfe9a
8 changed files with 335 additions and 126 deletions

View File

@@ -115,7 +115,7 @@ test.serial('template', async (t) => {
input: 'batman.js',
plugins: [
html({
template: () => '<html><body><main></main></body></html>'
transform: () => '<html><body><main></main></body></html>'
})
]
});