chore: update css lint rules, remove unused files
This commit is contained in:
+13
-1
@@ -1,5 +1,17 @@
|
||||
import postcssHct from "./scripts/postcss-hct.mjs";
|
||||
import postcssGlobalData from "@csstools/postcss-global-data";
|
||||
import postcssCustomMedia from "postcss-custom-media";
|
||||
|
||||
export default {
|
||||
plugins: [postcssHct],
|
||||
plugins: [
|
||||
// Breakpoints live only in preview.css (next to the --bp-* tokens);
|
||||
// global-data injects them so @media (--bp-*) expands in every file.
|
||||
postcssGlobalData({
|
||||
files: ["src/preview.css"],
|
||||
}),
|
||||
postcssCustomMedia({
|
||||
preserve: false,
|
||||
}),
|
||||
postcssHct,
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user