repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_thr...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
rollup.config.ts
diff --git
a/examples/typescript/http-server-pool/express-hybrid/rollup.config.ts
b/examples/typescript/http-server-pool/express-hybrid/rollup.config.ts
index b4634483c9f98e83c121c700fb51ca7e056de46a..cd2a4a98179e0f9e93218440cc39cd44c4ae11db 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/rollup.config.ts
+++ b/
examples/typescript/http-server-pool/express-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/express-worker.ts',
export default defineConfig({
input: [
'./src/main.ts',
'./src/express-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: ['express', /^node:*/, 'poolifier'],
plugins: [
typescript(),
del({
],
external: ['express', /^node:*/, 'poolifier'],
plugins: [
typescript(),
del({
- targets: ['./dist/*']
- })
- ]
+ targets: ['./dist/*']
,
+ })
,
+ ]
,
})
})