Convert to ESM

This commit is contained in:
Nick Alteen
2025-01-08 11:40:16 -05:00
parent f887349d3c
commit 4a533d2933
31 changed files with 36853 additions and 41599 deletions

17
rollup.config.js Normal file
View File

@ -0,0 +1,17 @@
// See: https://rollupjs.org/introduction/
import commonjs from '@rollup/plugin-commonjs'
import { nodeResolve } from '@rollup/plugin-node-resolve'
const config = {
input: 'src/index.js',
output: {
esModule: true,
file: 'dist/index.js',
format: 'es',
sourcemap: true
},
plugins: [commonjs(), nodeResolve()]
}
export default config