Skip to content

Migrate Playground from SASS to PostCSS#673

Merged
elchininet merged 1 commit into
masterfrom
playground/migrate_from_sass_to_postcss
May 24, 2026
Merged

Migrate Playground from SASS to PostCSS#673
elchininet merged 1 commit into
masterfrom
playground/migrate_from_sass_to_postcss

Conversation

@elchininet
Copy link
Copy Markdown
Owner

Package typed-scss-modules is without maintenance and it is for more than two years provoking warnings:

Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0

This pull request makes a migration of the Playground package to get rid of typed-scss-modules and also from SASS:

  • Removed typed-scss-modules and replaced it by typescript-plugin-css-modules that will check the types during development instead of creating source d.ts types.
  • Removed sass and sass-loader and replaced them by postcss plugins (postcss-import, postcss-simple-vars, postcss-nested and postcss-mixins) because the project was already using postcss for auto-prefixing the declarations.
  • Removed the generate-types and generate-types:dev scripts because they are not needed after removing typed-scss-modules.
  • Make the necessary changes in the code to support the migration.
  • Removed the plop config and templates because they were used during development and they are not used anymore.
  • Refactor the tsconfig.json file to make it compatible with TypeScript 6.

@elchininet elchininet added playground dependencies Pull requests that update a dependency file Configuration refactor labels May 24, 2026
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 100.0%. remained the same — playground/migrate_from_sass_to_postcss into master

@elchininet elchininet merged commit dc16c47 into master May 24, 2026
2 checks passed
@elchininet elchininet deleted the playground/migrate_from_sass_to_postcss branch May 24, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Configuration dependencies Pull requests that update a dependency file playground refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants