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 3.0.0-dev.18 to 3.0.0-dev.19

5

lib/css.helper.js

@@ -303,6 +303,5 @@ import { bundle as bundleModulesCss, transform } from 'lightningcss';

},
format: 'esm',
outdir: dirname(fullpath),
sourcemap: false,
minify: false,
target: 'esnext',
write: false,

@@ -326,3 +325,3 @@ bundle: true,

});
originCss = outputFiles[0].text;
originCss = outputFiles.find((f) => f.path.endsWith(`stdin.css`))?.text ?? originCss;
}

@@ -329,0 +328,0 @@

@@ -7,2 +7,3 @@ import { isAbsolute, resolve, sep, relative, basename, dirname } from 'node:path';

import { appendFile, mkdir } from 'node:fs/promises';
const require = createRequire(import.meta.url);

@@ -190,2 +191,11 @@

}
if (options.forceInlineImages) {
if (options.force === false) {
// yellow: enabled ? formatter("\x1b[33m", "\x1b[39m") : String,
console.log(
`\x1b[33m[${pluginName}] Warning: \`force\` will always be \`true\` when \`forceInlineImages\` is \`true\`\x1b[39m`
);
}
options.force = true;
}
};

@@ -192,0 +202,0 @@

2

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

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

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