fix rollup for the build with external html modules

This commit is contained in:
JFH
2021-12-04 12:36:24 +01:00
parent dc41e5d4ec
commit 8377488963

View File

@@ -94,7 +94,11 @@ const config = [ {
{ src: 'src/editor/svgedit.css', dest }
]
}),
html({ include: 'src/editor/panels/*.html' }),
html({ include: [
'src/editor/panels/*.html',
'src/editor/templates/*.html',
'src/editor/dialogs/*.html'
] }),
nodeResolve({
browser: true,
preferBuiltins: false
@@ -128,6 +132,9 @@ extensionDirs.forEach((extensionDir) => {
limit: 0,
fileName: '[name][extname]'
}),
html({ include: [
'src/editor/extensions/*/*.html'
] }),
nodeResolve({
browser: true,
preferBuiltins: true