-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document changes to template functions in v0.128.0 #2637
Conversation
jmooring
commented
Jun 23, 2024
•
edited
Loading
edited
- New: css.TailwindCSS
- Deprecate/rename: resources.Babel => js.Babel
- Deprecate/rename: resources.PostCSS => css.PostCSS
- Deprecate/rename: resources.ToCSS => css.Sass
This is obviously just a stub at this point: The deprecation/renaming stuff is complete. |
Hmm... Maybe |
Yes, it would be. |
OK, I have
|
26e83cd
to
f09c64b
Compare
I'm assuming the options map will look something like this: |
d4a729b
to
fc9bb74
Compare
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
} |
fc9bb74
to
106f48d
Compare
- New: css.TailwindCSS - Deprecate/rename: resources.Babel => js.Babel - Deprecate/rename: resources.PostCSS => css.PostCSS - Deprecate/rename: resources.ToCSS => css.Sass - Document disableWatch mount parameter
106f48d
to
6caa008
Compare
Merged in 012162e |