Skip to content

Commit

Permalink
Completely disable sourcemaps, since they're useless due to the new b…
Browse files Browse the repository at this point in the history
…undling system
  • Loading branch information
elboletaire committed Aug 5, 2024
1 parent c099476 commit f5f40e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ export default [
{
file: `${name}.js`,
format: 'cjs',
sourcemap: process.env.NODE_ENV === 'development',
sourcemap: false,
},
// es modules
{
file: `${name}.mjs`,
format: 'es',
sourcemap: process.env.NODE_ENV === 'development',
sourcemap: false,
},
// umd
{
name: 'VocdoniSDK',
file: `${name}.umd.js`,
format: 'umd',
sourcemap: process.env.NODE_ENV === 'development',
sourcemap: false,
},
],
}),
Expand Down

0 comments on commit f5f40e3

Please sign in to comment.