Webpack fix

This commit is contained in:
Tamius Han 2021-01-30 12:21:04 +01:00
parent 5bd2952437
commit bc5d5046df

View File

@ -121,7 +121,7 @@ const config = {
.substr(2) // YYYY -> YY .substr(2) // YYYY -> YY
.replace('-', '') // YY-MM-DD -> YYMM-DD .replace('-', '') // YY-MM-DD -> YYMM-DD
.replace('-', '.') // YYMM-DD -> YYMM.DD .replace('-', '.') // YYMM-DD -> YYMM.DD
}.${process.env.BUILD_NUMBER ?? 0}`; }.${process.env.BUILD_NUMBER === undefined ? 0 : process.env.BUILD_NUMBER}`;
jsonContent.browser_action.default_title = "Ultrawidify Nightly"; jsonContent.browser_action.default_title = "Ultrawidify Nightly";
// because we don't want web-ext to submit this as proper release // because we don't want web-ext to submit this as proper release
@ -137,7 +137,7 @@ const config = {
.substr(2) // YYYY -> YY .substr(2) // YYYY -> YY
.replace('-', '') // YY-MM-DD -> YYMM-DD .replace('-', '') // YY-MM-DD -> YYMM-DD
.replace('-', '.') // YYMM-DD -> YYMM.DD .replace('-', '.') // YYMM-DD -> YYMM.DD
}.${process.env.BUILD_NUMBER ?? 0}`; }.${process.env.BUILD_NUMBER === undefined ? 0 : process.env.BUILD_NUMBER}`;
jsonContent.browser_action.default_title = "Ultrawidify Testing"; jsonContent.browser_action.default_title = "Ultrawidify Testing";
// because we don't want web-ext to submit this as proper release // because we don't want web-ext to submit this as proper release