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/http-server-pool/fastify-cluster...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-cluster
/
rollup.config.mjs
diff --git
a/examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs
b/examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs
index ce76fee01c2a61fba27cfe62b05e56b174362f83..1a46e9980b6f678596701a3d6328ca74120b5c0a 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs
+++ b/
examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs
@@
-3,30
+3,30
@@
import typescript from '@rollup/plugin-typescript'
import del from 'rollup-plugin-delete'
export default {
import del from 'rollup-plugin-delete'
export default {
- input: ['
src/main.ts', '
src/worker.ts'],
+ input: ['
./src/main.ts', './
src/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', 'node:path', 'node:url', 'poolifier'],
plugins: [
typescript(),
del({
}
],
external: ['fastify', 'node:path', 'node:url', 'poolifier'],
plugins: [
typescript(),
del({
- targets: ['dist/*']
+ targets: ['
./
dist/*']
})
]
}
})
]
}