Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 29, 2025

  • Explore repository structure and understand current SCSS setup
  • Analyze current SCSS features usage (mixins, functions, placeholders, @if/@each/@else)
  • Create migration specification document with detailed analysis (docs/migration/sass-to-postcss.md)
  • Create migration script prototype in the migration package
  • Add tests for the new migration script
  • Run tests to verify migration script works correctly
  • Document the two-output PostCSS build approach (chromium vs legacy) - documented in spec
  • Address code review feedback:
    • Fixed dollar sign escaping in mixin parameter replacement
    • Added single-quote support for @use and @forward imports
    • Fixed comment regex to avoid URL issues
    • Enhanced partial import patterns for various path formats
    • Updated test assertions to use toBeDefined() matcher
  • Add postcss-each plugin for Sass @each loop replacement

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@changeset-bot
Copy link

changeset-bot bot commented Dec 29, 2025

⚠️ No Changeset found

Latest commit: a95e451

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI changed the title [WIP] Evaluate migrating from Sass to PostCSS feat(migration): Add SASS to PostCSS migration evaluation and script Dec 29, 2025
Copilot AI requested a review from mfranzke December 29, 2025 15:16
@mfranzke
Copy link
Collaborator

@copilot for Sass @each replacement, we could use postcss-each PostCSS plugin.

Copy link
Contributor Author

Copilot AI commented Dec 30, 2025

@copilot for Sass @each replacement, we could use postcss-each PostCSS plugin.

Added postcss-each to the Core Plugins list and updated documentation to recommend it as the primary approach for @each loop replacement. Commit a95e451.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants