WIP plugins: static files

This commit is contained in:
Chocobozzz
2019-07-08 14:02:03 +02:00
committed by Chocobozzz
parent f023a19c3e
commit 2c0539420d
6 changed files with 124 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
export type ClientScript = {
script: string,
scopes: string[]
}
export type PluginPackageJson = {
name: string
version: string
@@ -12,5 +17,5 @@ export type PluginPackageJson = {
staticDirs: { [ name: string ]: string }
css: string[]
clientScripts: { script: string, scopes: string[] }[]
clientScripts: ClientScript[]
}