We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba741e commit bc101e6Copy full SHA for bc101e6
tasks/css-tools.js
@@ -63,6 +63,14 @@ if (fs.existsSync(licensePath)) {
63
header = header.replace('<%= YEAR %>', new Date().getFullYear());
64
}
65
66
+/**
67
+ * Processes a CSS file using lightningcss, minifies it, and outputs a TypeScript module.
68
+ * The output module includes license headers and wraps the CSS in a template literal.
69
+ *
70
+ * @param {string} cssPath - Path to the CSS file to process
71
+ * @returns {Promise<void>} A promise that resolves when processing is complete
72
73
+ */
74
export const processCSS = async (cssPath) => {
75
return bundleAsync({
76
filename: cssPath,
0 commit comments