-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts
25 lines (24 loc) · 1.21 KB
/
vite.config.ts
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
import { defineConfig } from 'vite';
import monkey from 'vite-plugin-monkey';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
monkey({
entry: 'src/main.ts',
userscript: {
name: 'Fantia TORA COIN 序列码自动填写',
author: 'Jeremy Hibiki',
description: 'Fantia TORA COIN 序列码自动填写,在任意一个输入框中黏贴,脚本将自动填充所有 4 个输入框',
namespace: 'https://github.com/Jeremy-Hibiki/fantia-tora-coin-auto-fill',
icon: 'https://fantia.jp/assets/customers/favicon-32x32-8ab6e1f6c630503f280adca20d089646e0ea67559d5696bb3b9f34469e15c168.png',
match: ['https://fantia.jp/mypage/users/coins/charges'],
updateURL:
'https://github.com/Jeremy-Hibiki/fantia-tora-coin-auto-fill/releases/latest/download/fantia-tora-coin-auto-fill.user.js',
downloadURL:
'https://github.com/Jeremy-Hibiki/fantia-tora-coin-auto-fill/releases/latest/download/fantia-tora-coin-auto-fill.user.js',
supportURL: 'https://github.com/Jeremy-Hibiki/fantia-tora-coin-auto-fill/issues',
homepageURL: 'https://github.com/Jeremy-Hibiki/fantia-tora-coin-auto-fill',
},
}),
],
});