vite-plugin-oneof-css-module

ISCLicense declared in the package manifest.

无论是微服务还是大型的项目,样式多了就容易被覆盖,目前css-in-js,scoped等都可以来实现,当然我比较喜欢使用CSS-Module,主要可以自由的定制class名称,也可以很好的去做区分,Vite其实也提供了CssModule,也可以根据不同的文件来自定义名称,但抛弃不掉的是.module.scss, 下面就说一下类似webpack中oneOf功能的Vite CssModule 插件,可以针对不同的正则来使用不同的CSS Module规则。

90

Security score

0 known advisories in v0.0.2

0-100 score computed by this site from verifiable signals only: known OSV.dev advisories affecting this exact version, how recently it was published, and the repository's OpenSSF Scorecard.advisory penalty −0 · staleness penalty −10

Weekly downloads

Downloads across all versions in the last 7 days, from the official npm downloads API (api.npmjs.org).

2

Unpacked size

Size of v0.0.2 on disk after npm install extracts the tarball, as reported by the npm registry.

3.7 MB

Dependencies

Direct runtime dependencies declared by v0.0.2. Transitive dependencies are not counted here — use the lockfile audit for the full tree.

7

Last publish

When v0.0.2 was published to the registry. Long gaps can indicate an unmaintained package.

2 years ago

Security advisories

Vulnerabilities affecting v0.0.2 specifically, from OSV.dev — the open database aggregating the GitHub Advisory Database (GHSA) and CVEs. Links open the full advisory.

No known vulnerabilities affect v0.0.2.

Downloads — last 30 days

Daily download counts across all versions for the last 30 days, from the npm downloads API. Weekend dips are normal for developer tooling.

17 total▲ 0.0% vs prior week

Aug 29Sep 27