Skip to content

Commit

Permalink
Fix issue with Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
phbernard committed Oct 27, 2020
1 parent d8ba153 commit 04bbe36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/rollup.config.js
Expand Up @@ -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,
Expand Down

0 comments on commit 04bbe36

Please sign in to comment.