1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-21 22:12:41 +00:00
templui/tailwind.config.lib.js
“axzilla” ebd1b4e0f5 refactor: add separate CSS for lib components
- Create tailwind.config.lib.js for library-specific config
- Add generate-lib-css command to build process
- Produce goilerplate.css in pkg/styles for lib components
- Improve performance by reducing CSS file size for lib users
- Maintain shared styles between main and lib CSS
2024-10-10 09:12:17 +02:00

7 lines
142 B
JavaScript

const baseConfig = require("./tailwind.config.js");
module.exports = {
...baseConfig,
content: ["./pkg/**/*.templ", "./pkg/**/*.go"],
};