aboutsummaryrefslogtreecommitdiffstats
path: root/.config/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/rollup.config.js')
-rw-r--r--.config/rollup.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/rollup.config.js b/.config/rollup.config.js
index 8391ba0..5e3667b 100644
--- a/.config/rollup.config.js
+++ b/.config/rollup.config.js
@@ -96,7 +96,8 @@ const config = (node, min, esm = false) => ({
: node ? './dist/svg.node.js'
: min ? './dist/svg.min.js'
: './dist/svg.js',
- format: esm ? 'esm' : node ? 'cjs' : 'iife',
+ // See https://stackoverflow.com/questions/54489234/trouble-loading-svgdotjs-svg-js-3-0-11-in-typescript-test-code-managed-by-j
+ format: esm ? 'esm' : node ? 'cjs' : 'umd',
name: 'SVG',
sourcemap: true,
banner: headerLong,