add file headers that were missing and add a readme
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 31s

This commit is contained in:
Lee
2024-04-25 23:51:36 +01:00
parent 12d0a00ad0
commit 11ae94dc3e
2 changed files with 21 additions and 2 deletions

View File

@ -1,9 +1,10 @@
const path = require('path');
const { UserscriptPlugin } = require('webpack-userscript');
module.exports = {
entry: './src/index.ts',
mode: process.env.NODE_ENV || 'development',
mode: 'production',
module: {
rules: [
{
@ -21,7 +22,11 @@ module.exports = {
headers: {
name: "ScoreSaber Utils",
"run-at": "document-end",
match: "https://scoresaber.com/*"
match: "https://scoresaber.com/*",
updateURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
downloadURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
require: ["https://ssu.fascinated.cc/scripts/bundle.meta.js"],
version: `1.0.0-${process.env.GIT_REV || 'dev'}`,
}
})
],