2023-07-11 10:25:49 +03:00
|
|
|
import { defineConfig } from 'rollup'
|
|
|
|
import typescript from '@rollup/plugin-typescript'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
input: 'src/index.ts',
|
|
|
|
output: {
|
|
|
|
dir: 'dist',
|
|
|
|
format: 'es'
|
|
|
|
},
|
2023-07-13 14:32:35 +03:00
|
|
|
plugins: [typescript()],
|
2023-07-11 10:25:49 +03:00
|
|
|
external: ['path', 'axp-ts', 'dotenv', 'express', 'mongoose'],
|
|
|
|
})
|