Files
pixiv-artist-filter/vite.config.ts
Drunkoatmeal bd52d178bc 2025/04/03
Initial commit

Signed-off-by: Drunkoatmeal <no@thanks.com>
2025-04-03 23:51:19 +07:00

26 lines
617 B
TypeScript

import { defineConfig } from 'vite'
import Userscript from 'vite-userscript-plugin'
import { name, description, version } from './package.json';
// https://vite.dev/config/
export default defineConfig({
plugins: [
Userscript({
entry: 'src/main.ts',
header: {
name,
description,
version,
namespace: 'noproompter',
match: 'https://www.pixiv.net/*/tags/*',
noframes:true,
"run-at": "document-end",
grant: ['GM.setValue', 'GM.addStyle', 'GM.getValue', 'GM.addElement']
},
server: {
port: 3000
}
})
],
})