Yumma CSS 3.3

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:
- Using MJS configuration file: Add support for MJS configuration file.
- Configuration file generation: Fixing configuration file generation.
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.jsyumma.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.
export default { source: [""], output: "", buildOptions: { reset: true, minify: false, },};
Upgrade
You can upgrade your projects by getting the latest version of yummacss
from npm:
pnpm add yummacss@latest
npm i yummacss@latest
yarn add yummacss@latest