repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-cluster
/
rollup.config.mjs
diff --git
a/examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs
b/examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs
index c1fe5160375b028d7a555d3f98540fac37e0e838..2633843c443309e1e12cff7a8151b7e5c6b47f9a 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs
+++ b/
examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs
@@
-12,15
+12,12
@@
export default defineConfig({
dir: './dist',
sourcemap: true,
entryFileNames: '[name].cjs',
dir: './dist',
sourcemap: true,
entryFileNames: '[name].cjs',
- preserveModules: true,
- preserveModulesRoot: './src'
+ chunkFileNames: '[name]-[hash].cjs'
},
{
format: 'esm',
dir: './dist',
},
{
format: 'esm',
dir: './dist',
- sourcemap: true,
- preserveModules: true,
- preserveModulesRoot: './src'
+ sourcemap: true
}
],
external: ['node:path', 'node:url', 'poolifier', 'ws'],
}
],
external: ['node:path', 'node:url', 'poolifier', 'ws'],