repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: use delete on properties
[poolifier.git]
/
rollup.config.mjs
diff --git
a/rollup.config.mjs
b/rollup.config.mjs
index 9e8cd65bb0317152141a539de08f8d64c16a2c6c..aac1c8cdd00740db11a5c031b31b14c850049c17 100644
(file)
--- a/
rollup.config.mjs
+++ b/
rollup.config.mjs
@@
-41,6
+41,7
@@
export default defineConfig([
}),
...(!isDevelopmentBuild && {
file: './lib/index.js',
}),
...(!isDevelopmentBuild && {
file: './lib/index.js',
+ sourcemap: true,
plugins: [terser({ maxWorkers })]
})
},
plugins: [terser({ maxWorkers })]
})
},
@@
-56,6
+57,7
@@
export default defineConfig([
}),
...(!isDevelopmentBuild && {
file: './lib/index.mjs',
}),
...(!isDevelopmentBuild && {
file: './lib/index.mjs',
+ sourcemap: true,
plugins: [terser({ maxWorkers })]
})
}
plugins: [terser({ maxWorkers })]
})
}
@@
-72,9
+74,7
@@
export default defineConfig([
],
plugins: [
typescript({
],
plugins: [
typescript({
- tsconfig: isDevelopmentBuild
- ? './tsconfig.development.json'
- : './tsconfig.production.json'
+ tsconfig: './tsconfig.build.json'
}),
del({
targets: ['./lib/*']
}),
del({
targets: ['./lib/*']