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
84
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 2.3.0 to 2.3.1

4

changelog.md

@@ -0,1 +1,5 @@

## V2.3.1
- Fix [issue#33](https://github.com/indooorsman/esbuild-css-modules-plugin/issues/33)
## V2.3.0

@@ -2,0 +6,0 @@

@@ -51,2 +51,5 @@ const path = require('path');

const doInject = () => {
if (typeof document === 'undefined') {
return;
}
let root = document.querySelector('${injectToSelector}');

@@ -53,0 +56,0 @@ if (root && root.shadowRoot) {

@@ -58,2 +58,5 @@ const path = require('path');

(function() {
if (typeof document === 'undefined') {
return;
}
if (!document.getElementById(digest)) {

@@ -60,0 +63,0 @@ var el = document.createElement('style');

2

package.json
{
"name": "esbuild-css-modules-plugin",
"version": "2.3.0",
"version": "2.3.1",
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",

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

@@ -59,3 +59,3 @@ # esbuild-css-modules-plugin

v2: true // experimental. v2 can bundle images in css, note if set `v2` to true, other options except `inject` will be ignored. and v2 only works with `bundle: true`.
v2: true, // experimental. v2 can bundle images in css, note if set `v2` to true, other options except `inject` will be ignored. and v2 only works with `bundle: true`.
v2CssModulesOption: { // Optional.

@@ -62,0 +62,0 @@ dashedIndents: boolean; // Optional. refer to: https://github.com/parcel-bundler/parcel-css/releases/tag/v1.9.0

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