Skip to content

Commit e062106

Browse files
committed
Migrate to esm
1 parent c78dcb2 commit e062106

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

postcss.config.cjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

postcss.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('postcss-load-config').Config} */
2+
export default {
3+
plugins: {
4+
tailwindcss: {},
5+
autoprefixer: {}
6+
}
7+
}

tailwind.config.cjs renamed to tailwind.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
const { addIconSelectors } = require('@iconify/tailwind')
2-
const dt = require('tailwindcss/defaultTheme')
1+
import { addIconSelectors } from '@iconify/tailwind'
2+
import dt from 'tailwindcss/defaultTheme'
33

4-
const config = {
4+
/** @type {import('tailwindcss').Config} */
5+
export default {
56
content: ['./src/**/*.{html,js,svelte,ts}'],
67
theme: {
78
extend: {
@@ -29,5 +30,3 @@ const config = {
2930
]
3031
}
3132
}
32-
33-
module.exports = config

0 commit comments

Comments
 (0)