Skip to content

Commit

Permalink
Add comment to compat
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 14, 2024
1 parent bc32b08 commit 009d0b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ember-scoped-css-compat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ const {
default: ScopedCssPreprocessor,
} = require('ember-scoped-css/build/ember-classic-support');

/**
* There are 3 transforms wired up in here
* - Babel
* - to automatically add an import to the sibling file
* - to remove any imports from ember-scoped-css
* - Template
* - To swap out scoped-class / scopedClass usage with postfixed variants
* - CSS
* - to Add postfixed class names to each class / selector
*/
module.exports = {
name: require('./package').name,

Expand Down

0 comments on commit 009d0b3

Please sign in to comment.