esbuild-css-modules-plugin
Advanced tools
Comparing version 2.2.12 to 2.2.13
@@ -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 |
@@ -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", |
32596