include html transformation for tests as well

master
JFH 2021-12-04 11:30:29 +01:00
parent 42d1a2f342
commit dc41e5d4ec
1 changed files with 10 additions and 2 deletions

View File

@ -14,14 +14,22 @@ export default {
'src/editor/panels/*.html': 'js',
'src/editor/templates/*.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: [
html({ include: [
'src/editor/panels/*.html',
'src/editor/templates/*.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({
// explicitely list packages to increase performance