postcss-modules-local-by-default

WebJar for postcss-modules-local-by-default

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

postcss-modules-local-by-default
Last Version

Last Version

3.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

postcss-modules-local-by-default
WebJar for postcss-modules-local-by-default
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/css-modules/postcss-modules-local-by-default

Download postcss-modules-local-by-default

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/postcss-modules-local-by-default/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>postcss-modules-local-by-default</artifactId>
    <version>3.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/postcss-modules-local-by-default/
implementation 'org.webjars.npm:postcss-modules-local-by-default:3.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/postcss-modules-local-by-default/
implementation ("org.webjars.npm:postcss-modules-local-by-default:3.0.3")
'org.webjars.npm:postcss-modules-local-by-default:jar:3.0.3'
<dependency org="org.webjars.npm" name="postcss-modules-local-by-default" rev="3.0.3">
  <artifact name="postcss-modules-local-by-default" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='postcss-modules-local-by-default', version='3.0.3')
)
libraryDependencies += "org.webjars.npm" % "postcss-modules-local-by-default" % "3.0.3"
[org.webjars.npm/postcss-modules-local-by-default "3.0.3"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : icss-utils jar [4.1.1,5)
org.webjars.npm : postcss jar [7.0.32,8)
org.webjars.npm : postcss-selector-parser jar [6.0.2,7)
org.webjars.npm : postcss-value-parser jar [4.1.0,5)

Project Modules

There are no modules declared in this project.

Build Status codecov npm

CSS Modules: Local by Default

Transformation examples:

.foo { ... } /* => */ :local(.foo) { ... }

.foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }

/* Shorthand global selector */

:global .foo .bar { ... } /* => */ .foo .bar { ... }

.foo :global .bar { ... } /* => */ :local(.foo) .bar { ... }

/* Targeted global selector */

:global(.foo) .bar { ... } /* => */ .foo :local(.bar) { ... }

.foo:global(.bar) { ... } /* => */ :local(.foo).bar { ... }

.foo :global(.bar) .baz { ... } /* => */ :local(.foo) .bar :local(.baz) { ... }

.foo:global(.bar) .baz { ... } /* => */ :local(.foo).bar :local(.baz) { ... }

Building

$ npm install
$ npm test
  • Build: Build Status
  • Lines: coveralls
  • Statements: codecov

Development

$ yarn test:watch

License

MIT

With thanks


Mark Dalgleish, 2015.

org.webjars.npm

Versions

Version
3.0.3
2.0.6
2.0.4
1.2.0
1.0.0