include html transformation for tests as well

This commit is contained in:
JFH
2021-12-04 11:30:29 +01:00
parent 42d1a2f342
commit dc41e5d4ec

View File

@@ -14,14 +14,22 @@ export default {
'src/editor/panels/*.html': 'js', 'src/editor/panels/*.html': 'js',
'src/editor/templates/*.html': 'js', 'src/editor/templates/*.html': 'js',
'src/editor/dialogs/*.html': 'js', 'src/editor/dialogs/*.html': 'js',
'src/editor/extensions/*/*.html': 'js' 'src/editor/extensions/*/*.html': 'js',
'instrumented/editor/panels/*.html': 'js',
'instrumented/editor/templates/*.html': 'js',
'instrumented/editor/dialogs/*.html': 'js',
'instrumented/editor/extensions/*/*.html': 'js'
}, },
plugins: [ plugins: [
html({ include: [ html({ include: [
'src/editor/panels/*.html', 'src/editor/panels/*.html',
'src/editor/templates/*.html', 'src/editor/templates/*.html',
'src/editor/dialogs/*.html', 'src/editor/dialogs/*.html',
'src/editor/extensions/*/*.html' 'src/editor/extensions/*/*.html',
'instrumented/editor/panels/*.html',
'instrumented/editor/templates/*.html',
'instrumented/editor/dialogs/*.html',
'instrumented/editor/extensions/*/*.html'
] }), ] }),
commonjs({ commonjs({
// explicitely list packages to increase performance // explicitely list packages to increase performance