From 837748896363e8be5bd1c747c3fe34b82d33eca3 Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Sat, 4 Dec 2021 12:36:24 +0100 Subject: [PATCH] fix rollup for the build with external html modules --- rollup.config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index f2eac1d8..6a678ad9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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