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-cluster...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
rollup.config.mjs
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
b/examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
index 0b93ba20edc677c388ff9397b6032b24e401bdcf..ecc218cf4a116ecb154bd73ec1f5b1849f5385f4 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
@@
-4,33
+4,33
@@
import del from 'rollup-plugin-delete'
export default {
input: [
export default {
input: [
- 'src/main.ts',
- 'src/fastify-worker.ts',
- 'src/request-handler-worker.ts'
+ '
./
src/main.ts',
+ '
./
src/fastify-worker.ts',
+ '
./
src/request-handler-worker.ts'
],
strictDeprecations: true,
output: [
{
format: 'cjs',
],
strictDeprecations: true,
output: [
{
format: 'cjs',
- dir: 'dist',
+ dir: '
./
dist',
sourcemap: true,
entryFileNames: '[name].cjs',
preserveModules: true,
sourcemap: true,
entryFileNames: '[name].cjs',
preserveModules: true,
- preserveModulesRoot: 'src'
+ preserveModulesRoot: '
./
src'
},
{
format: 'esm',
},
{
format: 'esm',
- dir: 'dist',
+ dir: '
./
dist',
sourcemap: true,
preserveModules: true,
sourcemap: true,
preserveModules: true,
- preserveModulesRoot: 'src'
+ preserveModulesRoot: '
./
src'
}
],
external: ['fastify', 'fastify-plugin', 'node:path', 'node:url', 'poolifier'],
plugins: [
typescript(),
del({
}
],
external: ['fastify', 'fastify-plugin', 'node:path', 'node:url', 'poolifier'],
plugins: [
typescript(),
del({
- targets: ['dist/*']
+ targets: ['
./
dist/*']
})
]
}
})
]
}