Compare commits

...

2 Commits

Author SHA1 Message Date
ekzyis
3863edb871
Remove commented out webpack.IgnorePlugin code (#1290) 2024-08-08 16:16:11 -05:00
ekzyis
f7a170fff0
Crosspost errors are warnings now (#1285) 2024-08-05 18:05:09 -05:00
2 changed files with 2 additions and 5 deletions

View File

@ -119,7 +119,7 @@ export default function useCrossposter () {
removeToast() removeToast()
} }
const removeToast = toaster.danger( const removeToast = toaster.warning(
<> <>
Crossposting failed for {failedRelays.join(', ')} <br /> Crossposting failed for {failedRelays.join(', ')} <br />
<Button <Button
@ -145,7 +145,7 @@ export default function useCrossposter () {
} }
const crosspostError = (errorMessage) => { const crosspostError = (errorMessage) => {
return toaster.danger(`Error crossposting: ${errorMessage}`) return toaster.warning(`crossposting failed: ${errorMessage}`)
} }
async function handleEventCreation (item) { async function handleEventCreation (item) {

View File

@ -232,10 +232,7 @@ module.exports = withPlausibleProxy()({
}) })
} }
// const ignorePlugin = new webpack.IgnorePlugin({ resourceRegExp: /server\.js$/ })
config.plugins.push(workboxPlugin) config.plugins.push(workboxPlugin)
// config.plugins.push(ignorePlugin)
} }
config.module.rules.push( config.module.rules.push(