This package has been deprecated

Author message:

This proof-of-concept package has been replaced with https://www.npmjs.com/package/postcss-modules-extend-rule.

postcss-modules-extend-from

0.0.1 • Public • Published

⚠ Work in progress! ⚠

PostCSS Modules Extend Rule

To be used with postcss-extend-class

In

.foo {
  @extend .some-class from 'some-module';
}

Out

:import('some-module') {
  __extends_from_0_some-class: some-class;
}
.foo {
  @extend-class __extends_from_0_some-class;
}

Package Sidebar

Install

npm i postcss-modules-extend-from

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

2.83 kB

Total Files

4

Last publish

Collaborators

  • tsdzw