Closed jmooring closed 1 month ago
This is obviously just a stub at this point: https://deploy-preview-2637--gohugoio.netlify.app/functions/css/tailwindcss/
The deprecation/renaming stuff is complete.
Deprecate/rename: resources.ToCSS => css.SASS
Hmm... Maybe Sass
would be more correct?
Maybe Sass would be more correct?
Yes, it would be.
OK, I have
I'm assuming the options map will look something like this: https://deploy-preview-2637--gohugoio.netlify.app/functions/css/tailwindcss/#options
Tailwind options:
type TailwindCSSOptions struct {
Minify bool // Optimize and minify the output
Optimize bool // Optimize the output without minifying
// Enable inlining of @import statements.
// Does so recursively, but currently once only per file;
// that is, it's not possible to import the same file in
// different scopes (root, media query...)
// Note that this import routine does not care about the CSS spec,
// so you can have @import anywhere in the file.
InlineImports bool
// When InlineImports is enabled, we fail the build if an import cannot be resolved.
// You can enable this to allow the build to continue and leave the import statement in place.
// Note that the inline importer does not process url location or imports with media queries,
// so those will be left as-is even without enabling this option.
SkipInlineImportsNotFound bool
}
Merged in 012162e0d2ede071ad2b9637db5fb1dbd5995d52