diff --git a/package.json b/package.json index 39205ba..d6ad87f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nimpl/classnames-minifier", - "version": "3.0.3", + "version": "3.1.0", "description": "Library for configuring style modules to generate compressed classes", "main": "dist/withClassnamesMinifier.js", "types": "dist/withClassnamesMinifier.d.ts", diff --git a/src/withClassnamesMinifier.ts b/src/withClassnamesMinifier.ts index 5754ade..7cd3c6d 100644 --- a/src/withClassnamesMinifier.ts +++ b/src/withClassnamesMinifier.ts @@ -20,6 +20,7 @@ const withClassnameMinifier = (pluginOptions: PluginOptions = {}) => { classnamesMinifier = new ClassnamesMinifier({ prefix: pluginOptions.prefix, reservedNames: pluginOptions.reservedNames, + disableDistDeletion: pluginOptions.disableDistDeletion, distDir: distDirAbsolute, cacheDir, });