repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aec5d4
)
build: cleanup rollup configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 13 Jun 2023 19:44:28 +0000
(21:44 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 13 Jun 2023 19:44:28 +0000
(21:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
rollup.config.mjs
patch
|
blob
|
blame
|
history
diff --git
a/rollup.config.mjs
b/rollup.config.mjs
index b5c0b285b77b8daa31ab63e4cd19f5152e688825..1410f161af83887ede02a8f98eb6bdcec7d35738 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-17,9
+17,9
@@
export default {
output: [
{
format: 'cjs',
- sourcemap: !!isDevelopmentBuild,
...(isDevelopmentBuild && {
dir: 'lib',
+ sourcemap: true,
preserveModules: true,
preserveModulesRoot: 'src'
}),
@@
-30,9
+30,9
@@
export default {
},
{
format: 'esm',
- sourcemap: !!isDevelopmentBuild,
...(isDevelopmentBuild && {
dir: 'lib',
+ sourcemap: true,
entryFileNames: '[name].mjs',
preserveModules: true,
preserveModulesRoot: 'src'