Skip to content

Yumma CSS 3.3

Yumma CSS 3.3.0

Rolling out Yumma CSS 3.3. This update is all about making some quality-of-life improvements to the configuration file, as well as a new configuration file format.

You may also want to take a look at some of the release notes but, anyway, these are the most noticeable shifts:

This is an incremental update that may contain breaking changes. Minor releases follow semantic versioning conventions. In other words, a migration is necessary to continue using the framework.


Using MJS configuration file

We’re dropping support for the yumma.config.js file and going with the yumma.config.mjs file instead. This means you won’t need to add type="module" to your package.json file anymore. We had to make this change to get rid of the module detection process from the CLI.

yumma.config.js
yumma.config.mjs

Configuration file generation

Oh, and we fixed the JSON syntax when generating the configuration file. The init command should now generate valid config properties from now on.

yumma.config.mjs
export default {
source: [""],
output: "",
buildOptions: {
reset: true,
minify: false,
},
};

Upgrade

You can upgrade your projects by getting the latest version of yummacss from npm:

Terminal
pnpm add yummacss@latest