1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-22 07:54:22 +00:00

Fix firefox bug?

This commit is contained in:
Steffo 2020-08-22 01:57:29 +02:00
parent 36379a9f4d
commit aade089ef8
2 changed files with 7 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"private": true,
"name": "appuntiweb",
"version": "0.7.0",
"version": "0.7.1",
"license": "AGPL-3.0-or-later",
"scripts": {
"start": "preact watch --template src/template.html",

View file

@ -58,4 +58,10 @@ export default function (config, env, helpers) {
})
)
}
// https://github.com/preactjs/preact-cli/issues/710
let critters = helpers.getPluginsByName(config, 'Critters')[0];
if (critters) {
critters.plugin.options.preload = 'js' // or some other option
}
};