summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/with-tailwindcss/tailwind.config.cjs2
-rw-r--r--packages/astro/src/core/add/consts.ts2
-rw-r--r--packages/astro/test/fixtures/tailwindcss/tailwind.config.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/with-tailwindcss/tailwind.config.cjs b/examples/with-tailwindcss/tailwind.config.cjs
index 2711f9948..dc0ae5c8f 100644
--- a/examples/with-tailwindcss/tailwind.config.cjs
+++ b/examples/with-tailwindcss/tailwind.config.cjs
@@ -1,5 +1,5 @@
module.exports = {
- content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
+ content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
diff --git a/packages/astro/src/core/add/consts.ts b/packages/astro/src/core/add/consts.ts
index d99fd942f..ccd80d386 100644
--- a/packages/astro/src/core/add/consts.ts
+++ b/packages/astro/src/core/add/consts.ts
@@ -18,7 +18,7 @@ export const ALIASES = new Map([
]);
export const CONFIG_STUB = `import { defineConfig } from 'astro/config';\n\nexport default defineConfig({});`;
export const TAILWIND_CONFIG_STUB = `module.exports = {
- content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
+ content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
diff --git a/packages/astro/test/fixtures/tailwindcss/tailwind.config.js b/packages/astro/test/fixtures/tailwindcss/tailwind.config.js
index 281a60f6f..7aeb483c1 100644
--- a/packages/astro/test/fixtures/tailwindcss/tailwind.config.js
+++ b/packages/astro/test/fixtures/tailwindcss/tailwind.config.js
@@ -1,7 +1,7 @@
const path = require('path');
module.exports = {
- content: [path.join(__dirname, 'src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}')],
+ content: [path.join(__dirname, 'src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}')],
theme: {
extend: {
colors: {