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 9d7060c commit 83fa423Copy full SHA for 83fa423
1 file changed
uno.config.ts
@@ -21,6 +21,18 @@ const customIcons = {
21
}
22
23
export default defineConfig({
24
+ // og-image uses hardcoded classes we don't want bundled into main app
25
+ content: {
26
+ pipeline: {
27
+ exclude: [
28
+ // Preserve the UnoCSS defaults that @unocss/nuxt normally sets
29
+ /\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,
30
+ /\?macro=true/,
31
+ // Exclude OG image templates from the pipeline
32
+ '**/OgImage/*.takumi.vue',
33
+ ],
34
+ },
35
36
presets: [
37
presetWind4(),
38
presetIcons({
0 commit comments