@tailwindcss-mangle/config
Advanced tools
Comparing version 1.0.1 to 2.0.4
import * as c12 from 'c12'; | ||
import { IClassGeneratorOptions } from '@tailwindcss-mangle/shared'; | ||
interface ClassMapOutputOptions { | ||
enable?: boolean; | ||
filename?: string; | ||
loose?: boolean; | ||
} | ||
interface MangleUserConfig { | ||
mangleClassFilter?: (className: string) => boolean; | ||
classGenerator?: IClassGeneratorOptions; | ||
exclude?: string[]; | ||
include?: string[]; | ||
classListPath?: string; | ||
classMapOutput?: ClassMapOutputOptions; | ||
disabled?: boolean; | ||
} | ||
interface PatchUserConfig { | ||
@@ -19,2 +34,3 @@ output?: { | ||
patch?: PatchUserConfig; | ||
mangle?: MangleUserConfig; | ||
} | ||
@@ -27,2 +43,3 @@ | ||
declare function getDefaultPatchConfig(): PatchUserConfig; | ||
declare function getDefaultMangleUserConfig(): MangleUserConfig; | ||
declare function getDefaultUserConfig(): UserConfig; | ||
@@ -32,2 +49,2 @@ | ||
export { PatchUserConfig, UserConfig, configName, defineConfig, getConfig, getDefaultPatchConfig, getDefaultUserConfig, initConfig }; | ||
export { ClassMapOutputOptions, MangleUserConfig, PatchUserConfig, UserConfig, configName, defineConfig, getConfig, getDefaultMangleUserConfig, getDefaultPatchConfig, getDefaultUserConfig, initConfig }; |
{ | ||
"name": "@tailwindcss-mangle/config", | ||
"version": "1.0.1", | ||
"version": "2.0.4", | ||
"description": "The config and load function of tailwindcss-mangle", | ||
@@ -43,3 +43,4 @@ "exports": { | ||
"c12": "^1.4.2", | ||
"dedent": "^1.5.1" | ||
"dedent": "^1.5.1", | ||
"@tailwindcss-mangle/shared": "^2.0.4" | ||
}, | ||
@@ -53,5 +54,5 @@ "homepage": "https://github.com/sonofmagic/tailwindcss-mangle", | ||
"build": "unbuild", | ||
"test": "vitest run", | ||
"test": "vitest run --coverage.enabled", | ||
"test:dev": "vitest" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
8528
235
3
3
+ Added@tailwindcss-mangle/shared@2.2.2(transitive)