esbuild-css-modules-plugin
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -76,5 +76,5 @@ const path = require('path'); | ||
} | ||
if (!root.querySelector('#${digest}')) { | ||
if (!root.querySelector('#_${digest}')) { | ||
const el = document.createElement('style'); | ||
el.id = '${digest}'; | ||
el.id = '_${digest}'; | ||
el.textContent = css; | ||
@@ -81,0 +81,0 @@ root.appendChild(el); |
{ | ||
"name": "esbuild-css-modules-plugin", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20245