umami/rollup.cli.config.js
2020-07-24 17:00:56 -07:00

19 lines
379 B
JavaScript

import 'dotenv/config';
import hashbang from 'rollup-plugin-hashbang';
import commonjs from '@rollup/plugin-commonjs';
export default {
input: 'cli/index.js',
output: {
file: 'cli.js',
format: 'cjs',
},
plugins: [
hashbang(),
commonjs({
include: 'node_modules/**',
}),
],
external: ['yargs', 'chalk', 'dotenv/config', '@prisma/client'],
};