From 3b85bfde22a003793a9a4625c3b47f210616c625 Mon Sep 17 00:00:00 2001 From: Vordgi Date: Sat, 20 Apr 2024 15:42:56 +0400 Subject: [PATCH 1/2] cm-30 fix config validation --- src/lib/validateConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/validateConfig.ts b/src/lib/validateConfig.ts index cdad342..e2bd268 100644 --- a/src/lib/validateConfig.ts +++ b/src/lib/validateConfig.ts @@ -1,6 +1,6 @@ import type { Config } from "./types/plugin"; -const validKeys = ["prefix", "reservedNames", "cacheDir", "distDir"]; +const validKeys = ["prefix", "reservedNames", "cacheDir", "distDir", "disableDistDeletion"]; const validateIsObject = (config: unknown): config is Config => { if (!config) return false; From 9481b52e777e9de59fb3cfa4f05967d0f0b8ecb3 Mon Sep 17 00:00:00 2001 From: Vordgi Date: Sat, 20 Apr 2024 15:44:54 +0400 Subject: [PATCH 2/2] cm-32 release 0.1.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1fc9baa..5f6df45 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "classnames-minifier", - "version": "0.1.4", + "version": "0.1.5", "description": "Library for configuring style modules to generate compressed classes", "main": "./dist/ClassnamesMinifier.js", "types": "./dist/ClassnamesMinifier.d.ts",