esbuild-css-modules-plugin
Advanced tools
Comparing version 2.1.5 to 2.1.6
import type { Plugin } from 'esbuild'; | ||
declare type GenerateScopedNameFunction = ( | ||
name: string, | ||
filename: string, | ||
css: string | ||
) => string; | ||
declare type GenerateScopedNameFunction = (name: string, filename: string, css: string) => string; | ||
@@ -15,2 +11,10 @@ declare type LocalsConventionFunction = ( | ||
declare class Loader { | ||
constructor(root: string, plugins: Plugin[]); | ||
fetch(file: string, relativeTo: string, depTrace: string): Promise<{ [key: string]: string }>; | ||
finalSource?: string | undefined; | ||
} | ||
declare interface CssModulesOptions { | ||
@@ -48,4 +52,6 @@ getJSON?(cssFilename: string, json: { [name: string]: string }, outputFilename?: string): void; | ||
export default function CssModulesPlugin(options?: PluginOptions): Plugin; | ||
declare function CssModulesPlugin(options?: PluginOptions): Plugin; | ||
export = CssModulesPlugin; | ||
declare namespace CssModulesPlugin {} | ||
export = CssModulesPlugin; |
{ | ||
"name": "esbuild-css-modules-plugin", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14341
270