Skip to content

Commit

Permalink
Migrate to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodevx committed Aug 25, 2024
1 parent c78dcb2 commit e062106
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
13 changes: 0 additions & 13 deletions postcss.config.cjs

This file was deleted.

7 changes: 7 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('postcss-load-config').Config} */
export default {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
9 changes: 4 additions & 5 deletions tailwind.config.cjs → tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const { addIconSelectors } = require('@iconify/tailwind')
const dt = require('tailwindcss/defaultTheme')
import { addIconSelectors } from '@iconify/tailwind'
import dt from 'tailwindcss/defaultTheme'

const config = {
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
Expand Down Expand Up @@ -29,5 +30,3 @@ const config = {
]
}
}

module.exports = config

0 comments on commit e062106

Please sign in to comment.