Allow render entrypoint load alternative config

The render entrypoint is used by exporter
This commit is contained in:
Andrey Antukh 2026-04-22 10:01:38 +02:00
parent 3225319e0c
commit 09637f9794
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@
</script> </script>
{{# manifest}} {{# manifest}}
<script src="{{& config}}"></script> <script src="{{& config_render}}"></script>
<script src="{{& polyfills}}"></script> <script src="{{& polyfills}}"></script>
<script type="importmap">{{& importmap }}</script> <script type="importmap">{{& importmap }}</script>
{{/manifest}} {{/manifest}}

View File

@ -207,6 +207,7 @@ async function generateManifest() {
rasterizer_main: "./js/rasterizer.js", rasterizer_main: "./js/rasterizer.js",
config: "./js/config.js?version=" + VERSION_TAG, config: "./js/config.js?version=" + VERSION_TAG,
config_render: "./js/config-render.js?version=" + VERSION_TAG,
polyfills: "./js/polyfills.js?version=" + VERSION_TAG, polyfills: "./js/polyfills.js?version=" + VERSION_TAG,
libs: "./js/libs.js?version=" + VERSION_TAG, libs: "./js/libs.js?version=" + VERSION_TAG,
default_translations: "./js/translation.en.js?version=" + VERSION_TAG, default_translations: "./js/translation.en.js?version=" + VERSION_TAG,