mirror of https://github.com/aldy505/sql-dsl.git
20 lines
343 B
TypeScript
20 lines
343 B
TypeScript
import {defineConfig} from 'rollup';
|
|
import ts from '@rollup/plugin-typescript';
|
|
|
|
export default defineConfig({
|
|
input: 'src/index.ts',
|
|
output: [
|
|
{
|
|
file: 'dist/index.cjs',
|
|
format: 'cjs',
|
|
},
|
|
{
|
|
file: 'dist/index.mjs',
|
|
format: 'esm',
|
|
},
|
|
],
|
|
plugins: [
|
|
ts({tsconfig: './tsconfig.json'}),
|
|
],
|
|
});
|