From f54f2fa4c31544cecad6e54eea49032222957138 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Thu, 27 Feb 2020 11:55:00 +0000 Subject: [PATCH] bugfix: images only rendering hen running in dev mode --- packages/builder/rollup.config.js | 2 +- packages/builder/src/PackageRoot.svelte | 2 +- packages/builder/src/main.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/builder/rollup.config.js b/packages/builder/rollup.config.js index 10e6e866ea..9af67db34a 100644 --- a/packages/builder/rollup.config.js +++ b/packages/builder/rollup.config.js @@ -16,7 +16,7 @@ const _builderProxy = proxy("/_builder", { pathRewrite: { "^/_builder": "" }, }) -const apiProxy = proxy(["/_builder/api/**", "/_builder/**/componentlibrary"], { +const apiProxy = proxy(["/_builder/assets/**", "/_builder/api/**", "/_builder/**/componentlibrary"], { target, logLevel: "debug", changeOrigin: true, diff --git a/packages/builder/src/PackageRoot.svelte b/packages/builder/src/PackageRoot.svelte index ccc3d29829..ce87fe65e9 100644 --- a/packages/builder/src/PackageRoot.svelte +++ b/packages/builder/src/PackageRoot.svelte @@ -10,7 +10,7 @@