refactor: replace ffi with koffi

This commit is contained in:
Bloomingg
2024-04-08 16:54:02 +08:00
parent 9d20806d51
commit fbcae7866b
19 changed files with 1248 additions and 2239 deletions

View File

@@ -21,5 +21,24 @@ export default [
alias(),
typescript(),
]
},
{
input: 'src/render.ts',
output: [
{
file: 'lib/render.js',
format: 'cjs',
exports: 'auto',
sourcemap: false
},
{
file: 'lib/render.es.js',
format: 'esm',
sourcemap: false
}
],
plugins: [
typescript(),
]
}
];