cssnano-preset-advanced
Advanced tools
Comparing version 7.0.3 to 7.0.4
{ | ||
"name": "cssnano-preset-advanced", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"main": "src/index.js", | ||
@@ -16,5 +16,5 @@ "types": "types/index.d.ts", | ||
"browserslist": "^4.23.1", | ||
"cssnano-preset-default": "^7.0.3", | ||
"cssnano-preset-default": "^7.0.4", | ||
"postcss-merge-idents": "^7.0.0", | ||
"postcss-discard-unused": "^7.0.1", | ||
"postcss-merge-idents": "^7.0.0", | ||
"postcss-reduce-idents": "^7.0.0", | ||
@@ -37,3 +37,3 @@ "postcss-zindex": "^7.0.0" | ||
"devDependencies": { | ||
"postcss": "^8.4.38" | ||
"postcss": "^8.4.39" | ||
}, | ||
@@ -40,0 +40,0 @@ "peerDependencies": { |
@@ -9,3 +9,3 @@ export = advancedPreset; | ||
declare function advancedPreset(opts?: Options & AutoprefixerOptions & BrowserslistOptions): { | ||
plugins: [import('postcss').PluginCreator<any>, Options[keyof Options]][]; | ||
plugins: [import("postcss").PluginCreator<any>, Options[keyof Options]][]; | ||
}; | ||
@@ -15,6 +15,3 @@ declare namespace advancedPreset { | ||
} | ||
type Options = defaultPreset.Options & AdvancedOptions; | ||
type AutoprefixerOptions = defaultPreset.AutoprefixerOptions; | ||
type BrowserslistOptions = defaultPreset.BrowserslistOptions; | ||
type SimpleOptions<OptionsExtends extends void | object = void> = false | (OptionsExtends & { | ||
type SimpleOptions<OptionsExtends extends object | void = void> = false | (OptionsExtends & { | ||
exclude?: true; | ||
@@ -29,3 +26,5 @@ }); | ||
}; | ||
import defaultPreset = require("cssnano-preset-default"); | ||
type AutoprefixerOptions = defaultPreset.AutoprefixerOptions; | ||
type BrowserslistOptions = defaultPreset.BrowserslistOptions; | ||
type Options = defaultPreset.Options & AdvancedOptions; | ||
import autoprefixer = require("autoprefixer"); | ||
@@ -35,2 +34,3 @@ import postcssDiscardUnused = require("postcss-discard-unused"); | ||
import postcssZindex = require("postcss-zindex"); | ||
import defaultPreset = require("cssnano-preset-default"); | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is not supported yet
18570