-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable import of interval-bins binEvenLengthRound in package vcf-geno…
…type-brapi ... as binEvenLengthRound was undefined in production container build. package.json : move rollup configuration from prepare script to rollup.config.js. update version -> 1.0.2 added rollup.config.js, based on copy from child-process-progressive/ drop webpack.config.js as it has been replaced by rollup.config.js
- Loading branch information
1 parent
e6c05b2
commit 8852b74
Showing
3 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import resolve from '@rollup/plugin-node-resolve'; | ||
import commonjs from '@rollup/plugin-commonjs'; | ||
import json from '@rollup/plugin-json'; | ||
|
||
export default { | ||
input: 'main.js', // Entry point for the application | ||
output: [ | ||
{ | ||
file: 'dist/interval-bins.mjs', // Output bundle location | ||
format: 'esm' | ||
}, | ||
{ | ||
file: 'dist/interval-bins.cjs', // Output bundle location | ||
format: 'cjs' // CommonJS format suitable for Node.js require() | ||
} | ||
], | ||
plugins: [ | ||
resolve({ | ||
preferBuiltins: true // Prefer Node.js built-ins over npm modules if available | ||
}), | ||
commonjs(), | ||
json() | ||
], | ||
// List of Node built-in modules to leave as external dependencies | ||
// external: [] | ||
}; |
This file was deleted.
Oops, something went wrong.