The resources.PostCSS method takes an optional map of options.
(string) The directory that contains the PostCSS configuration file. Default is the root of the project directory.
(bool) Default is false. If true, disables inline sourcemaps.
(bool) Default is false. Enable inlining of @import statements. It does so recursively, but will only import a file once.
URL imports (e.g. @import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');) and imports with media queries will be ignored.
Note that this import routine does not care about the CSS spec, so you can have @import anywhere in the file.
Hugo will look for imports relative to the module mount and will respect theme overrides.
(bool) Default is false. Before Hugo 0.99.0 when inlineImports was enabled and we failed to resolve an import, we logged it as a warning. We now fail the build. 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.