mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +01:00
19 lines
379 B
JavaScript
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'],
|
||
|
};
|