-
fix(esm): use CJS wrapper for ESM default interop (#10119)
This PR builds on the work started in #10083 around ESM. One of the caveats of that PR was that the default export from
@redwoodjs/vite
broke. The workaround was referencing thedefault
property on the Redwood Vite plugin, likeredwood.default()
. This fixes the ES module default export interoperability so that no change is necessary in switching between module types. -
feature: Enable CSS nesting syntax by default when using Tailwind:
.button { @apply p-2 font-semibold bg-gray-500; &:hover { @apply bg-red-500; } .icon { @apply w-4 h-4; } span { @apply text-sm; } }
- See https://github.com/redwoodjs/redwood/releases/tag/v7.0.0 for the release notes and https://community.redwoodjs.com/t/redwood-v7-0-0-upgrade-guide/5713 for the upgrade guide
- See https://github.com/redwoodjs/redwood/releases/tag/v6.0.0 for the release notes and https://community.redwoodjs.com/t/redwood-v6-0-0-upgrade-guide/5044 for the upgrade guide
- See https://github.com/redwoodjs/redwood/releases/tag/v5.0.0 for the release notes and https://community.redwoodjs.com/t/redwood-v5-0-0-upgrade-guide/4715 for the upgrade guide
- See https://github.com/redwoodjs/redwood/releases/tag/v4.0.0 for the release notes and https://community.redwoodjs.com/t/redwood-v4-0-0-upgrade-guide/4412 for the upgrade guide
- See https://github.com/redwoodjs/redwood/releases/tag/v3.0.0 for the release notes and https://community.redwoodjs.com/t/pending-redwood-3-0-0-is-now-available/3989 for the upgrade guide
- See https://github.com/redwoodjs/redwood/releases/tag/v2.0.0 for the release notes and upgrade guide