Skip to content

Commit

Permalink
Merge pull request #13 from ItzNotABug/fix-minifier-misc-issue
Browse files Browse the repository at this point in the history
Fix `minifier` Misc Issue.
  • Loading branch information
ItzNotABug committed Jun 22, 2024
2 parents 56b72aa + 0a3bd7e commit e493150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion middlewares/minifier/minifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const checkAndMinify = async (request, interceptor) => {
if (excludeMinify) {
// only numbers and strings allowed currently,
// should be addressed in the next release ig.
excludeMinify = excludeMinify?.toLowerCase() === 'true';
excludeMinify = excludeMinify?.toString().toLowerCase() === 'true';
} else excludeMinify = false;

if (excludeMinify) return;
Expand Down
2 changes: 1 addition & 1 deletion middlewares/minifier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itznotabug/appexpress-minifier",
"version": "0.0.3",
"version": "0.0.4",
"description": "A content minifier middleware for AppExpress.",
"author": "@itznotabug",
"type": "module",
Expand Down

0 comments on commit e493150

Please sign in to comment.