-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
29 lines (28 loc) · 915 Bytes
/
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
26
27
28
29
import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import monkey from 'vite-plugin-monkey'
// https://vitejs.dev/config/
export default defineConfig({
build: {
minify: 'terser',
reportCompressedSize: false
},
plugins: [
vue(),
monkey({
entry: 'src/main.ts',
userscript: {
name: 'bilibili-remove-ad',
author: 'Yin-Jinlong',
description: 'B站移除广告',
version: '2.0',
homepage: 'https://github.com/Yin-Jinlong/bilibili-remove-ad',
homepageURL: 'https://github.com/Yin-Jinlong/bilibili-remove-ad',
icon: 'https://vitejs.dev/logo.svg',
namespace: 'npm/vite-plugin-monkey',
match: ['https://www.bilibili.com/*'],
noframes: true
},
}),
],
})