Skip to content

Commit

Permalink
Enable sourcemap output.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed May 20, 2024
1 parent be722d1 commit 36294f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default [
output: {
name: 'IndoorEqual',
file: pkg.browser,
format: 'umd'
format: 'umd',
sourcemap: true,
},
plugins: [
resolve(),
Expand All @@ -26,8 +27,8 @@ export default [
input,
external: ['debounce', 'array-equal'],
output: [
{ file: pkg.main, format: 'cjs', exports: 'default' },
{ file: pkg.module, format: 'es' }
{ file: pkg.main, format: 'cjs', exports: 'default', sourcemap: true },
{ file: pkg.module, format: 'es', sourcemap: true }
]
}
];

0 comments on commit 36294f6

Please sign in to comment.