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", 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;