maybe fix it?
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 34s

This commit is contained in:
Lee
2024-04-26 00:09:20 +01:00
parent 68e6b71020
commit 0a81c26d08
3 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@ const { UserscriptPlugin } = require('webpack-userscript');
module.exports = {
entry: './src/index.ts',
mode: 'production',
mode: process.env.NODE_ENV || 'development',
module: {
rules: [
{
@ -20,13 +20,13 @@ module.exports = {
plugins: [
new UserscriptPlugin({
metajs: false,
downloadBaseURL: 'https://ssu.fascinated.cc/scripts',
updateBaseURL: 'https://ssu.fascinated.cc/scripts',
headers: {
name: "ScoreSaber Utils",
author: "fascinated7 (discord)",
"run-at": "document-end",
match: "https://scoresaber.com/*",
updateURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
downloadURL: "https://ssu.fascinated.cc/scripts/bundle.user.js",
version: `1.0.0-${process.env.GIT_REV || 'dev'}`,
}
})