Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
argonbot/rollup.config.js

16 lines
376 B
JavaScript
Raw Normal View History

2021-06-14 09:59:17 +00:00
import typescript from '@rollup/plugin-typescript';
import json from '@rollup/plugin-json';
2021-06-17 08:03:11 +00:00
import { terser } from 'rollup-plugin-terser';
2021-06-14 09:59:17 +00:00
export default {
input: 'src/index.ts',
output: {
dir: 'dist',
2021-06-17 08:03:11 +00:00
format: 'cjs',
2021-06-14 09:59:17 +00:00
},
2021-06-17 08:03:11 +00:00
plugins: [
typescript({ module: 'ESNext', include: ['src/**/*.ts', '*.json'] }),
json({ compact: true, preferConst: true }),
terser(),
],
2021-06-14 09:59:17 +00:00
};