diff --git a/package.json b/package.json index f4e3137..eaac106 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/preact.config.js b/preact.config.js index c732d79..042427d 100644 --- a/preact.config.js +++ b/preact.config.js @@ -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 + } };