-
Notifications
You must be signed in to change notification settings - Fork 49
/
rollup.default.config.js
42 lines (41 loc) · 1015 Bytes
/
rollup.default.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import json from '@rollup/plugin-json';
import commonjs from "@rollup/plugin-commonjs";
import terser from '@rollup/plugin-terser';
export default [
{
input: 'src/1.1.1.1.panel.js',
output: {
file: 'js/1.1.1.1.panel.js',
format: 'es',
banner: '/* README: https://github.com/VirgilClyne/Cloudflare */',
},
plugins: [json(), commonjs(), terser()]
},
{
input: 'src/1.1.1.1.request.js',
output: {
file: 'js/1.1.1.1.request.js',
format: 'es',
banner: '/* README: https://github.com/VirgilClyne/Cloudflare */',
},
plugins: [json(), commonjs(), terser()]
},
{
input: 'src/1.1.1.1.response.js',
output: {
file: 'js/1.1.1.1.response.js',
format: 'es',
banner: '/* README: https://github.com/VirgilClyne/Cloudflare */',
},
plugins: [json(), commonjs(), terser()]
},
{
input: 'src/DNS.js',
output: {
file: 'js/DNS.js',
format: 'es',
banner: '/* README: https://github.com/VirgilClyne/Cloudflare */',
},
plugins: [json(), commonjs(), terser()]
},
];