



Note: Version bump only for package cssnano 5.0.0-rc.0 () Bug Fixes Note: Version bump only for package cssnano 5.0.0-rc.2 () Bug Fixes
#POSTCSS MINIFY UPDATE#
Postcss-minify-gradients: handle 2 color-stop-length in linear gradient ( #1215) ( 8bb7ba6c)Ĭssnano-preset-advanced: update autoprefixer ( #1213) ( f19932) Postcss-convert-values: preserve percentage-only properties ( #1212) ( 8f3453) Postcss-svgo: normalize SVG with escaped quote characters ( #1200) ( 4ef5e41) postcss-merge-longhand: prevent crash in some situations ( #1222) ( 83009a).0717282: postcss-merge-longhand: drop css-color-names dependency.31d5c07: refactor: drop one-liner dependencies.c38f14c: postcss-normalize-url: avoid changing parameter encoding.fix(postcss-reduce-initial): update initial values data ( #1242) ( c6e9f00b785).fix(postcss-colormin): accept configuration options ( #1263)( 3b38038007).chore(postcss-normalize-url): reduce dependencies ( #1255)( a4267dedcd6).fix(cssnano): correctly resolve presets in pnpm monorepo ( #1269) ( 6f9c7477eb).Remove a crash when postcss-calc cannot parse the value It's unlikely this function is used outside of cssnano as it requires It is better to replace this function with a regular Map(). The getMatch function allows nested arrays to emulate a map. Refactor: remove getMatch function from cssnano-utils
#POSTCSS MINIFY PATCH#
If you have regular CSS imports in your CSS that you want to preserve, you can either use imports with URL or media queries (Hugo does not try to resolve those) or set skipInlineImportsNotFound to true.Changelog Change Log 5.0.15 Patch Changes Before Hugo 0.99.0 when inlineImports was enabled and we failed to resolve an import, we logged it as a warning. Hugo will look for imports relative to the module mount and will respect theme overrides. Note that this import routine does not care about the CSS spec, so you can have anywhere in the file. url('') ) and imports with media queries will be ignored. It does so recursively, but will only import a file once. Disable the default inline sourcemaps inlineImports Options config Set a custom directory to look for a config file noMap Default is false.
#POSTCSS MINIFY INSTALL#
If you are using the Hugo Snap package, PostCSS and plugin(s) need to be installed locally within your Hugo site directory, e.g., npm install postcss-cli without the -g flag. Hugo Pipe’s PostCSS requires the postcss-cli JavaScript package to be installed in the environment ( npm install -g postcss postcss-cli) along with any PostCSS plugin(s) used (e.g., npm install -g autoprefixer).
