-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrollup.config.js
More file actions
32 lines (30 loc) · 953 Bytes
/
rollup.config.js
File metadata and controls
32 lines (30 loc) · 953 Bytes
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
import typescript from '@rollup/plugin-typescript';
export default {
input: 'src/main.ts',
output: {
file: 'dist/opfphider.user.js',
format: 'iife',
banner: `// ==UserScript==
// @name OPFPHider
// @name:zh-CN OPFP隐藏器
// @namespace URL
// @version 2.3.5
// @description Hide Osu! Profile sections optionally
// @description:zh-CN 可选地隐藏Osu!个人资料的各个不同部分
// @author Sisyphus
// @license MIT
// @homepage https://github.com/SisypheOvO
// @match https://osu.ppy.sh/users/*
// @run-at document-end
// @grant none
// @downloadURL https://raw.githubusercontent.com/SisypheOvO/OPFPHider/main/dist/opfphider.user.js
// @updateURL https://raw.githubusercontent.com/SisypheOvO/OPFPHider/main/dist/opfphider.user.js
// ==/UserScript==
`,
},
plugins: [
typescript({
tsconfig: './tsconfig.json'
})
]
};