Fix code quality violations and exclude Manifest from checks
Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
node_modules/cssnano-preset-default/README.md
generated
vendored
17
node_modules/cssnano-preset-default/README.md
generated
vendored
@@ -278,7 +278,22 @@ This plugin is loaded with its default configuration.
|
||||
|
||||
> Optimise inline SVG with PostCSS.
|
||||
|
||||
This plugin is loaded with its default configuration.
|
||||
This plugin is loaded with the following configuration:
|
||||
|
||||
```js
|
||||
{
|
||||
plugins: [
|
||||
{
|
||||
name: 'preset-default',
|
||||
params: {
|
||||
overrides: {
|
||||
removeViewBox: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
### [`postcss-unique-selectors`](https://github.com/cssnano/cssnano/tree/master/packages/postcss-unique-selectors)
|
||||
|
||||
|
||||
67
node_modules/cssnano-preset-default/package.json
generated
vendored
67
node_modules/cssnano-preset-default/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cssnano-preset-default",
|
||||
"version": "5.2.14",
|
||||
"version": "7.0.10",
|
||||
"main": "src/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
"description": "Safe defaults for cssnano which require minimal configuration.",
|
||||
@@ -11,35 +11,36 @@
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"css-declaration-sorter": "^6.3.1",
|
||||
"postcss-calc": "^8.2.3",
|
||||
"cssnano-utils": "^3.1.0",
|
||||
"postcss-discard-comments": "^5.1.2",
|
||||
"postcss-convert-values": "^5.1.3",
|
||||
"postcss-discard-duplicates": "^5.1.0",
|
||||
"postcss-colormin": "^5.3.1",
|
||||
"postcss-discard-empty": "^5.1.1",
|
||||
"postcss-discard-overridden": "^5.1.0",
|
||||
"postcss-merge-longhand": "^5.1.7",
|
||||
"postcss-merge-rules": "^5.1.4",
|
||||
"postcss-minify-gradients": "^5.1.1",
|
||||
"postcss-minify-font-values": "^5.1.0",
|
||||
"postcss-minify-params": "^5.1.4",
|
||||
"postcss-normalize-charset": "^5.1.0",
|
||||
"postcss-minify-selectors": "^5.2.1",
|
||||
"postcss-normalize-display-values": "^5.1.0",
|
||||
"postcss-normalize-positions": "^5.1.1",
|
||||
"postcss-normalize-repeat-style": "^5.1.1",
|
||||
"postcss-normalize-string": "^5.1.0",
|
||||
"postcss-normalize-timing-functions": "^5.1.0",
|
||||
"postcss-normalize-unicode": "^5.1.1",
|
||||
"postcss-normalize-whitespace": "^5.1.1",
|
||||
"postcss-normalize-url": "^5.1.0",
|
||||
"postcss-ordered-values": "^5.1.3",
|
||||
"postcss-reduce-initial": "^5.1.2",
|
||||
"postcss-reduce-transforms": "^5.1.0",
|
||||
"postcss-svgo": "^5.1.0",
|
||||
"postcss-unique-selectors": "^5.1.1"
|
||||
"browserslist": "^4.27.0",
|
||||
"css-declaration-sorter": "^7.2.0",
|
||||
"postcss-calc": "^10.1.1",
|
||||
"cssnano-utils": "^5.0.1",
|
||||
"postcss-colormin": "^7.0.5",
|
||||
"postcss-convert-values": "^7.0.8",
|
||||
"postcss-discard-comments": "^7.0.5",
|
||||
"postcss-discard-duplicates": "^7.0.2",
|
||||
"postcss-discard-empty": "^7.0.1",
|
||||
"postcss-discard-overridden": "^7.0.1",
|
||||
"postcss-merge-longhand": "^7.0.5",
|
||||
"postcss-merge-rules": "^7.0.7",
|
||||
"postcss-minify-font-values": "^7.0.1",
|
||||
"postcss-minify-gradients": "^7.0.1",
|
||||
"postcss-minify-params": "^7.0.5",
|
||||
"postcss-minify-selectors": "^7.0.5",
|
||||
"postcss-normalize-charset": "^7.0.1",
|
||||
"postcss-normalize-display-values": "^7.0.1",
|
||||
"postcss-normalize-positions": "^7.0.1",
|
||||
"postcss-normalize-repeat-style": "^7.0.1",
|
||||
"postcss-normalize-string": "^7.0.1",
|
||||
"postcss-normalize-timing-functions": "^7.0.1",
|
||||
"postcss-normalize-unicode": "^7.0.5",
|
||||
"postcss-normalize-url": "^7.0.1",
|
||||
"postcss-normalize-whitespace": "^7.0.1",
|
||||
"postcss-ordered-values": "^7.0.2",
|
||||
"postcss-reduce-initial": "^7.0.5",
|
||||
"postcss-reduce-transforms": "^7.0.1",
|
||||
"postcss-svgo": "^7.1.0",
|
||||
"postcss-unique-selectors": "^7.0.4"
|
||||
},
|
||||
"author": {
|
||||
"name": "Ben Briggs",
|
||||
@@ -52,12 +53,12 @@
|
||||
"url": "https://github.com/cssnano/cssnano/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14.0"
|
||||
"node": "^18.12.0 || ^20.9.0 || >=22.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"postcss": "^8.2.15"
|
||||
"postcss": "^8.5.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.2.15"
|
||||
"postcss": "^8.4.32"
|
||||
}
|
||||
}
|
||||
232
node_modules/cssnano-preset-default/src/index.js
generated
vendored
232
node_modules/cssnano-preset-default/src/index.js
generated
vendored
@@ -43,89 +43,163 @@ const postcssNormalizeDisplayValues = require('postcss-normalize-display-values'
|
||||
const postcssNormalizeTimingFunctions = require('postcss-normalize-timing-functions');
|
||||
const { rawCache } = require('cssnano-utils');
|
||||
|
||||
/** @typedef {{
|
||||
discardComments?: false | import('postcss-discard-comments').Options & { exclude?: true},
|
||||
reduceInitial?: false | { exclude?: true}
|
||||
minifyGradients?: false | { exclude?: true}
|
||||
svgo?: false | import('postcss-svgo').Options & { exclude?: true},
|
||||
reduceTransforms?: false | { exclude?: true}
|
||||
convertValues?: false | import('postcss-convert-values').Options & { exclude?: true},
|
||||
calc?: false | import('postcss-calc').PostCssCalcOptions & { exclude?: true},
|
||||
colormin?: false | Record<string, any> & { exclude?: true},
|
||||
orderedValues?: false | { exclude?: true},
|
||||
minifySelectors?: false | { exclude?: true},
|
||||
minifyParams?: false | { exclude?: true},
|
||||
normalizeCharset?: false | import('postcss-normalize-charset').Options & { exclude?: true},
|
||||
minifyFontValues?: false | import('postcss-minify-font-values').Options & { exclude?: true},
|
||||
normalizeUrl?: false | import('postcss-normalize-url').Options & { exclude?: true},
|
||||
mergeLonghand?: false | { exclude?: true},
|
||||
discardDuplicates?: false | { exclude?: true},
|
||||
discardOverridden?: false | { exclude?: true},
|
||||
normalizeRepeatStyle?: false | { exclude?: true},
|
||||
mergeRules?: false | { exclude?: true},
|
||||
discardEmpty?: false | { exclude?: true},
|
||||
uniqueSelectors?: false | { exclude?: true},
|
||||
normalizeString?: false | import('postcss-normalize-string').Options & { exclude?: true},
|
||||
normalizePositions?: false | { exclude?: true},
|
||||
normalizeWhitespace?: false| { exclude?: true},
|
||||
normalizeUnicode?: false | { exclude?: true},
|
||||
normalizeDisplayValues?: false | { exclude?: true},
|
||||
normalizeTimingFunctions?: false | { exclude?: true},
|
||||
rawCache?: false | { exclude?: true}}} Options */
|
||||
|
||||
const defaultOpts = {
|
||||
convertValues: {
|
||||
length: false,
|
||||
},
|
||||
normalizeCharset: {
|
||||
add: false,
|
||||
},
|
||||
cssDeclarationSorter: {
|
||||
keepOverrides: true,
|
||||
},
|
||||
};
|
||||
/**
|
||||
* @template {object | void} [OptionsExtends=void]
|
||||
* @typedef {false | OptionsExtends & {exclude?: true}} SimpleOptions
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {Options} opts
|
||||
* @return {{plugins: [import('postcss').PluginCreator<any>, boolean | Record<string, any> | undefined][]}}
|
||||
* @typedef {object} Options
|
||||
* @property {SimpleOptions<Parameters<typeof cssDeclarationSorter>[0]>} [cssDeclarationSorter]
|
||||
* @property {SimpleOptions<import('postcss-discard-comments').Options>} [discardComments]
|
||||
* @property {SimpleOptions<import('postcss-reduce-initial').Options>} [reduceInitial]
|
||||
* @property {SimpleOptions} [minifyGradients]
|
||||
* @property {SimpleOptions<import('postcss-svgo').Options>} [svgo]
|
||||
* @property {SimpleOptions} [reduceTransforms]
|
||||
* @property {SimpleOptions<import('postcss-convert-values').Options>} [convertValues]
|
||||
* @property {SimpleOptions<import('postcss-calc').PostCssCalcOptions>} [calc]
|
||||
* @property {SimpleOptions<import('postcss-colormin').Options>} [colormin]
|
||||
* @property {SimpleOptions} [orderedValues]
|
||||
* @property {SimpleOptions<import('postcss-minify-selectors').Options>} [minifySelectors]
|
||||
* @property {SimpleOptions<import('postcss-minify-params').Options>} [minifyParams]
|
||||
* @property {SimpleOptions<import('postcss-normalize-charset').Options>} [normalizeCharset]
|
||||
* @property {SimpleOptions<import('postcss-minify-font-values').Options>} [minifyFontValues]
|
||||
* @property {SimpleOptions} [normalizeUrl]
|
||||
* @property {SimpleOptions} [mergeLonghand]
|
||||
* @property {SimpleOptions} [discardDuplicates]
|
||||
* @property {SimpleOptions} [discardOverridden]
|
||||
* @property {SimpleOptions} [normalizeRepeatStyle]
|
||||
* @property {SimpleOptions<import('postcss-merge-rules').Options>} [mergeRules]
|
||||
* @property {SimpleOptions} [discardEmpty]
|
||||
* @property {SimpleOptions} [uniqueSelectors]
|
||||
* @property {SimpleOptions<import('postcss-normalize-string').Options>} [normalizeString]
|
||||
* @property {SimpleOptions} [normalizePositions]
|
||||
* @property {SimpleOptions} [normalizeWhitespace]
|
||||
* @property {SimpleOptions<import('postcss-normalize-unicode').Options>} [normalizeUnicode]
|
||||
* @property {SimpleOptions} [normalizeDisplayValues]
|
||||
* @property {SimpleOptions} [normalizeTimingFunctions]
|
||||
* @property {SimpleOptions} [rawCache]
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {{ overrideBrowserslist?: string | string[] }} AutoprefixerOptions
|
||||
* @typedef {Pick<import('browserslist').Options, 'stats' | 'path' | 'env'>} BrowserslistOptions
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {[import('postcss').PluginCreator<any>, keyof Options][]} plugins
|
||||
* @param {Parameters<typeof defaultPreset>[0]} opts
|
||||
* @returns {ReturnType<typeof defaultPreset>["plugins"]}
|
||||
*/
|
||||
function configurePlugins(plugins, opts = {}) {
|
||||
const { overrideBrowserslist, stats, env, path } = opts;
|
||||
|
||||
// Shared Autoprefixer + Browserslist options
|
||||
const sharedProps = {
|
||||
overrideBrowserslist,
|
||||
stats,
|
||||
env,
|
||||
path,
|
||||
};
|
||||
|
||||
/**
|
||||
* @type {Options}
|
||||
*/
|
||||
const defaults = {
|
||||
colormin: {
|
||||
...sharedProps,
|
||||
},
|
||||
convertValues: {
|
||||
length: false,
|
||||
...sharedProps,
|
||||
},
|
||||
mergeRules: {
|
||||
...sharedProps,
|
||||
},
|
||||
minifyParams: {
|
||||
...sharedProps,
|
||||
},
|
||||
normalizeCharset: {
|
||||
add: false,
|
||||
},
|
||||
normalizeUnicode: {
|
||||
...sharedProps,
|
||||
},
|
||||
reduceInitial: {
|
||||
...sharedProps,
|
||||
},
|
||||
cssDeclarationSorter: {
|
||||
keepOverrides: true,
|
||||
},
|
||||
minifySelectors: {
|
||||
sort: true,
|
||||
},
|
||||
svgo: {
|
||||
plugins: [
|
||||
{
|
||||
name: 'preset-default',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
// Merge option properties for each plugin
|
||||
return plugins.map(([plugin, opt]) => {
|
||||
const defaultProps = defaults[opt] ?? {};
|
||||
const presetProps = opts[opt] ?? {};
|
||||
|
||||
return [
|
||||
plugin,
|
||||
presetProps !== false
|
||||
? { ...defaultProps, ...presetProps }
|
||||
: { exclude: true },
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Safe defaults for cssnano which require minimal configuration
|
||||
*
|
||||
* @param {Options & AutoprefixerOptions & BrowserslistOptions} opts
|
||||
* @returns {{ plugins: [import('postcss').PluginCreator<any>, Options[keyof Options]][] }}
|
||||
*/
|
||||
function defaultPreset(opts = {}) {
|
||||
const options = Object.assign({}, defaultOpts, opts);
|
||||
|
||||
/** @type {[import('postcss').PluginCreator<any>, boolean | Record<string, any> | undefined][]} **/
|
||||
const plugins = [
|
||||
[postcssDiscardComments, options.discardComments],
|
||||
[postcssMinifyGradients, options.minifyGradients],
|
||||
[postcssReduceInitial, options.reduceInitial],
|
||||
[postcssSvgo, options.svgo],
|
||||
[postcssNormalizeDisplayValues, options.normalizeDisplayValues],
|
||||
[postcssReduceTransforms, options.reduceTransforms],
|
||||
[postcssColormin, options.colormin],
|
||||
[postcssNormalizeTimingFunctions, options.normalizeTimingFunctions],
|
||||
[postcssCalc, options.calc],
|
||||
[postcssConvertValues, options.convertValues],
|
||||
[postcssOrderedValues, options.orderedValues],
|
||||
[postcssMinifySelectors, options.minifySelectors],
|
||||
[postcssMinifyParams, options.minifyParams],
|
||||
[postcssNormalizeCharset, options.normalizeCharset],
|
||||
[postcssDiscardOverridden, options.discardOverridden],
|
||||
[postcssNormalizeString, options.normalizeString],
|
||||
[postcssNormalizeUnicode, options.normalizeUnicode],
|
||||
[postcssMinifyFontValues, options.minifyFontValues],
|
||||
[postcssNormalizeUrl, options.normalizeUrl],
|
||||
[postcssNormalizeRepeatStyle, options.normalizeRepeatStyle],
|
||||
[postcssNormalizePositions, options.normalizePositions],
|
||||
[postcssNormalizeWhitespace, options.normalizeWhitespace],
|
||||
[postcssMergeLonghand, options.mergeLonghand],
|
||||
[postcssDiscardDuplicates, options.discardDuplicates],
|
||||
[postcssMergeRules, options.mergeRules],
|
||||
[postcssDiscardEmpty, options.discardEmpty],
|
||||
[postcssUniqueSelectors, options.uniqueSelectors],
|
||||
[cssDeclarationSorter, options.cssDeclarationSorter],
|
||||
[rawCache, options.rawCache],
|
||||
];
|
||||
|
||||
return { plugins };
|
||||
return {
|
||||
plugins: configurePlugins(
|
||||
[
|
||||
[postcssDiscardComments, 'discardComments'],
|
||||
[postcssMinifyGradients, 'minifyGradients'],
|
||||
[postcssReduceInitial, 'reduceInitial'],
|
||||
[postcssSvgo, 'svgo'],
|
||||
[postcssNormalizeDisplayValues, 'normalizeDisplayValues'],
|
||||
[postcssReduceTransforms, 'reduceTransforms'],
|
||||
[postcssColormin, 'colormin'],
|
||||
[postcssNormalizeTimingFunctions, 'normalizeTimingFunctions'],
|
||||
[postcssCalc, 'calc'],
|
||||
[postcssConvertValues, 'convertValues'],
|
||||
[postcssOrderedValues, 'orderedValues'],
|
||||
[postcssMinifySelectors, 'minifySelectors'],
|
||||
[postcssMinifyParams, 'minifyParams'],
|
||||
[postcssNormalizeCharset, 'normalizeCharset'],
|
||||
[postcssDiscardOverridden, 'discardOverridden'],
|
||||
[postcssNormalizeString, 'normalizeString'],
|
||||
[postcssNormalizeUnicode, 'normalizeUnicode'],
|
||||
[postcssMinifyFontValues, 'minifyFontValues'],
|
||||
[postcssNormalizeUrl, 'normalizeUrl'],
|
||||
[postcssNormalizeRepeatStyle, 'normalizeRepeatStyle'],
|
||||
[postcssNormalizePositions, 'normalizePositions'],
|
||||
[postcssNormalizeWhitespace, 'normalizeWhitespace'],
|
||||
[postcssMergeLonghand, 'mergeLonghand'],
|
||||
[postcssDiscardDuplicates, 'discardDuplicates'],
|
||||
[postcssMergeRules, 'mergeRules'],
|
||||
[postcssDiscardEmpty, 'discardEmpty'],
|
||||
[postcssUniqueSelectors, 'uniqueSelectors'],
|
||||
[cssDeclarationSorter, 'cssDeclarationSorter'],
|
||||
[rawCache, 'rawCache'],
|
||||
],
|
||||
opts
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = defaultPreset;
|
||||
|
||||
150
node_modules/cssnano-preset-default/types/index.d.ts
generated
vendored
150
node_modules/cssnano-preset-default/types/index.d.ts
generated
vendored
@@ -1,98 +1,68 @@
|
||||
export = defaultPreset;
|
||||
/**
|
||||
* @param {Options} opts
|
||||
* @return {{plugins: [import('postcss').PluginCreator<any>, boolean | Record<string, any> | undefined][]}}
|
||||
* Safe defaults for cssnano which require minimal configuration
|
||||
*
|
||||
* @param {Options & AutoprefixerOptions & BrowserslistOptions} opts
|
||||
* @returns {{ plugins: [import('postcss').PluginCreator<any>, Options[keyof Options]][] }}
|
||||
*/
|
||||
declare function defaultPreset(opts?: Options): {
|
||||
plugins: [import('postcss').PluginCreator<any>, boolean | Record<string, any> | undefined][];
|
||||
declare function defaultPreset(opts?: Options & AutoprefixerOptions & BrowserslistOptions): {
|
||||
plugins: [import("postcss").PluginCreator<any>, Options[keyof Options]][];
|
||||
};
|
||||
declare namespace defaultPreset {
|
||||
export { Options };
|
||||
export { SimpleOptions, Options, AutoprefixerOptions, BrowserslistOptions };
|
||||
}
|
||||
type SimpleOptions<OptionsExtends extends object | void = void> = false | (OptionsExtends & {
|
||||
exclude?: true;
|
||||
});
|
||||
type Options = {
|
||||
discardComments?: false | import('postcss-discard-comments').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
reduceInitial?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
minifyGradients?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
svgo?: false | import('postcss-svgo').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
reduceTransforms?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
convertValues?: false | import('postcss-convert-values').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
calc?: false | import('postcss-calc').PostCssCalcOptions & {
|
||||
exclude?: true;
|
||||
};
|
||||
colormin?: false | (Record<string, any> & {
|
||||
exclude?: true;
|
||||
});
|
||||
orderedValues?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
minifySelectors?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
minifyParams?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeCharset?: false | import('postcss-normalize-charset').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
minifyFontValues?: false | import('postcss-minify-font-values').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeUrl?: false | import('postcss-normalize-url').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
mergeLonghand?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
discardDuplicates?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
discardOverridden?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeRepeatStyle?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
mergeRules?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
discardEmpty?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
uniqueSelectors?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeString?: false | import('postcss-normalize-string').Options & {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizePositions?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeWhitespace?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeUnicode?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeDisplayValues?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
normalizeTimingFunctions?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
rawCache?: false | {
|
||||
exclude?: true;
|
||||
};
|
||||
cssDeclarationSorter?: SimpleOptions<{
|
||||
order?: ("alphabetical" | "concentric-css" | "smacss") | ((propertyNameA: string, propertyNameB: string) => -1 | 0 | 1) | undefined;
|
||||
keepOverrides?: boolean;
|
||||
} | undefined> | undefined;
|
||||
discardComments?: SimpleOptions<postcssDiscardComments.Options> | undefined;
|
||||
reduceInitial?: SimpleOptions<postcssReduceInitial.Options> | undefined;
|
||||
minifyGradients?: SimpleOptions<void> | undefined;
|
||||
svgo?: SimpleOptions<postcssSvgo.Options> | undefined;
|
||||
reduceTransforms?: SimpleOptions<void> | undefined;
|
||||
convertValues?: SimpleOptions<postcssConvertValues.Options> | undefined;
|
||||
calc?: SimpleOptions<postcssCalc.PostCssCalcOptions> | undefined;
|
||||
colormin?: SimpleOptions<postcssColormin.Options> | undefined;
|
||||
orderedValues?: SimpleOptions<void> | undefined;
|
||||
minifySelectors?: SimpleOptions<postcssMinifySelectors.Options> | undefined;
|
||||
minifyParams?: SimpleOptions<postcssMinifyParams.Options> | undefined;
|
||||
normalizeCharset?: SimpleOptions<postcssNormalizeCharset.Options> | undefined;
|
||||
minifyFontValues?: SimpleOptions<postcssMinifyFontValues.Options> | undefined;
|
||||
normalizeUrl?: SimpleOptions<void> | undefined;
|
||||
mergeLonghand?: SimpleOptions<void> | undefined;
|
||||
discardDuplicates?: SimpleOptions<void> | undefined;
|
||||
discardOverridden?: SimpleOptions<void> | undefined;
|
||||
normalizeRepeatStyle?: SimpleOptions<void> | undefined;
|
||||
mergeRules?: SimpleOptions<postcssMergeRules.Options> | undefined;
|
||||
discardEmpty?: SimpleOptions<void> | undefined;
|
||||
uniqueSelectors?: SimpleOptions<void> | undefined;
|
||||
normalizeString?: SimpleOptions<postcssNormalizeString.Options> | undefined;
|
||||
normalizePositions?: SimpleOptions<void> | undefined;
|
||||
normalizeWhitespace?: SimpleOptions<void> | undefined;
|
||||
normalizeUnicode?: SimpleOptions<postcssNormalizeUnicode.Options> | undefined;
|
||||
normalizeDisplayValues?: SimpleOptions<void> | undefined;
|
||||
normalizeTimingFunctions?: SimpleOptions<void> | undefined;
|
||||
rawCache?: SimpleOptions<void> | undefined;
|
||||
};
|
||||
import { rawCache } from "cssnano-utils";
|
||||
type AutoprefixerOptions = {
|
||||
overrideBrowserslist?: string | string[];
|
||||
};
|
||||
type BrowserslistOptions = Pick<import("browserslist").Options, "stats" | "path" | "env">;
|
||||
import postcssDiscardComments = require("postcss-discard-comments");
|
||||
import postcssReduceInitial = require("postcss-reduce-initial");
|
||||
import postcssSvgo = require("postcss-svgo");
|
||||
import postcssConvertValues = require("postcss-convert-values");
|
||||
import postcssCalc = require("postcss-calc");
|
||||
import postcssColormin = require("postcss-colormin");
|
||||
import postcssMinifySelectors = require("postcss-minify-selectors");
|
||||
import postcssMinifyParams = require("postcss-minify-params");
|
||||
import postcssNormalizeCharset = require("postcss-normalize-charset");
|
||||
import postcssMinifyFontValues = require("postcss-minify-font-values");
|
||||
import postcssMergeRules = require("postcss-merge-rules");
|
||||
import postcssNormalizeString = require("postcss-normalize-string");
|
||||
import postcssNormalizeUnicode = require("postcss-normalize-unicode");
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/cssnano-preset-default/types/index.d.ts.map
generated
vendored
Executable file
1
node_modules/cssnano-preset-default/types/index.d.ts.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AA+JA;;;;;GAKG;AACH,sCAHW,OAAO,GAAG,mBAAmB,GAAG,mBAAmB,GACjD;IAAE,OAAO,EAAE,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC,EAAE,CAAA;CAAE,CAuCzF;;;;mBA5J6B,cAAc,SAA9B,MAAM,GAAG,IAAK,WACf,KAAK,IAAG,cAAc,GAAG;IAAC,OAAO,CAAC,EAAE,IAAI,CAAA;CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqCzC;IAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE;2BAC5C,IAAI,CAAC,OAAO,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC"}
|
||||
Reference in New Issue
Block a user