Skip to content

Commit

Permalink
test: don't use __dirname in tailwind config (#18969)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Dec 16, 2024
1 parent 63b82f1 commit 30f256e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion playground/backend-integration/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/** @type {import('tailwindcss').Config} */
import { fileURLToPath } from 'node:url'
import { dirname } from 'node:path'

const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)

/** @type {import('tailwindcss').Config} */
export default {
content: [__dirname + '/frontend/**/*.{css,html,ts,js}'],
theme: {
Expand Down

0 comments on commit 30f256e

Please sign in to comment.