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