repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: refine README.md badges
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-hybrid
/
rollup.config.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts
b/examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts
index 97efb44f27e6e75f40ccf2ad17be198062a98ea4..fb87823561344ea583371ece1829e0b92b8c6c2b 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts
+++ b/
examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts
@@
-1,12
+1,12
@@
import typescript from '@rollup/plugin-typescript'
import typescript from '@rollup/plugin-typescript'
-import del from 'rollup-plugin-delete'
import { defineConfig } from 'rollup'
import { defineConfig } from 'rollup'
+import del from 'rollup-plugin-delete'
export default defineConfig({
input: [
'./src/main.ts',
'./src/websocket-server-worker.ts',
export default defineConfig({
input: [
'./src/main.ts',
'./src/websocket-server-worker.ts',
- './src/request-handler-worker.ts'
+ './src/request-handler-worker.ts'
,
],
strictDeprecations: true,
output: [
],
strictDeprecations: true,
output: [
@@
-15,19
+15,19
@@
export default defineConfig({
dir: './dist',
sourcemap: true,
entryFileNames: '[name].cjs',
dir: './dist',
sourcemap: true,
entryFileNames: '[name].cjs',
- chunkFileNames: '[name]-[hash].cjs'
+ chunkFileNames: '[name]-[hash].cjs'
,
},
{
format: 'esm',
dir: './dist',
},
{
format: 'esm',
dir: './dist',
- sourcemap: true
- }
+ sourcemap: true
,
+ }
,
],
external: [/^node:*/, 'poolifier', 'ws'],
plugins: [
typescript(),
del({
],
external: [/^node:*/, 'poolifier', 'ws'],
plugins: [
typescript(),
del({
- targets: ['./dist/*']
- })
- ]
+ targets: ['./dist/*']
,
+ })
,
+ ]
,
})
})