Skip to content

Commit

Permalink
feat: add sourcemaps (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Nov 18, 2022
1 parent 31e1863 commit 1fff0a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const outputs = [
input: 'src/index.ts',
output: {
file: pkg.module,
format: 'esm'
format: 'esm',
sourcemap: true
},
plugins: plugins(undefined, true),
external: [...Object.keys(pkg.dependencies)]
Expand All @@ -37,6 +38,7 @@ const outputs = [
format: 'umd',
name: 'vegaTooltip',
exports: 'named',
sourcemap: true,
globals: {
'vega-util': 'vega'
},
Expand All @@ -46,6 +48,7 @@ const outputs = [
format: 'umd',
name: 'vegaTooltip',
exports: 'named',
sourcemap: true,
globals: {
'vega-util': 'vega'
},
Expand Down

0 comments on commit 1fff0a2

Please sign in to comment.