diff --git a/.changeset/few-panthers-admire.md b/.changeset/few-panthers-admire.md new file mode 100644 index 000000000..c3b75ad7d --- /dev/null +++ b/.changeset/few-panthers-admire.md @@ -0,0 +1,9 @@ +--- +'preact-cli': major +--- + +Removes Critters which facilitates automatic CSS inlining in prod. + +Unfortunately Critters has not been updated for Webpack v5, resulting in a precarious dependency situation that causes issues for NPM users. As such, Critters will be removed for the time being. + +It may be updated or we may switch to a fork, but for now, it's causing issues and will require some work to correct. diff --git a/README.md b/README.md index 27fabce8d..752d48757 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ $ [npm init / yarn create] preact-cli Create a production build -You can disable `default: true` flags by prefixing them with `--no-