We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f138b5 commit 7a92fa5Copy full SHA for 7a92fa5
lib/utils.js
@@ -121,7 +121,7 @@ const getBuildId = (build) => {
121
const entryContents = entries
122
.map((p) => {
123
const absPath = path.isAbsolute(p) ? p : path.resolve(buildRoot, p);
124
- return readFileSync(absPath, { encoding: 'utf8' });
+ return readFileSync(absPath, { encoding: 'utf8' }).trim();
125
})
126
.join('');
127
return createHash('sha256').update(entryContents).digest('hex');
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "esbuild-css-modules-plugin",
3
- "version": "2.2.8",
+ "version": "2.2.9",
4
"description": "A esbuild plugin to bundle css modules into js(x)/ts(x).",
5
"main": "index.js",
6
"keywords": [
0 commit comments