Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

esbuild-css-modules-plugin

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-css-modules-plugin - npm Package Compare versions

Comparing version 3.0.0-dev.15 to 3.0.0-dev.16

36

index.d.ts
import type { Plugin, PluginBuild } from 'esbuild';
export interface Options {
declare interface BuildOptions {
/** force to build modules-css files even if `bundle` is disabled in esbuild, default is `false` */

@@ -52,19 +52,25 @@ force?: boolean;

interface BuildContext {
options: Options;
buildId: string;
buildRoot: string;
packageName: string;
packageVersion: string;
log: (...args: any[]) => void;
relative: (to: string) => string;
normalizedEntries: string[];
}
declare function CssModulesPlugin(options?: BuildOptions): Plugin;
declare function CssModulesPlugin(options?: Options): Plugin;
declare namespace CssModulesPlugin {
export interface Options extends BuildOptions {};
export interface BuildContext {
options: Options;
buildId: string;
buildRoot: string;
packageName: string;
packageVersion: string;
log: (...args: any[]) => void;
relative: (to: string) => string;
normalizedEntries: string[];
}
export type setup = (build: PluginBuild, options: Options) => void;
export type setup = (build: PluginBuild, options: Options) => void;
export interface Build extends PluginBuild {
context: BuildContext;
export interface Build extends PluginBuild {
context: BuildContext;
}
}
export = CssModulesPlugin;
{
"name": "esbuild-css-modules-plugin",
"version": "3.0.0-dev.15",
"version": "3.0.0-dev.16",
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",

@@ -5,0 +5,0 @@ "main": "./index.cjs",

@@ -10,9 +10,9 @@ {

"lib": [
"ES2022"
"ESNext"
],
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"module": "NodeNext",
"target": "ES2022",
"moduleResolution": "nodenext",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,

@@ -19,0 +19,0 @@ "esModuleInterop": true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc