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.2.12 to 2.2.13

2

changelog.md

@@ -0,1 +1,3 @@

## V2.2.13
- **[v2]** [bugfix] exports of entry js are lost with auto inject
## V2.2.12

@@ -2,0 +4,0 @@ - **[v2]** only use cache in watch mode

2

lib/plugin.js

@@ -319,3 +319,3 @@ const path = require('path');

const r = (p) => path.relative(absOutdir, p).split(path.sep).join(path.posix.sep);
const imports = `import "./${r(entryPath)}";`;
const imports = `import "./${r(entryPath)}";\nexport * from "./${r(entryPath)}";`;
if (sourcemap === 'external') {

@@ -322,0 +322,0 @@ await appendFile(entryPath, `\n//# sourceMappingURL=${r(entryPath)}.map`, { encoding: 'utf8' });

{
"name": "esbuild-css-modules-plugin",
"version": "2.2.12",
"version": "2.2.13",
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",

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

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