use esmodules/typings where possible

This commit is contained in:
Seth Trowbridge 2024-10-10 19:50:32 -04:00
parent 9aac4a631c
commit e16fbb1c95
2 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,11 @@
export default { import tailwindcss from 'tailwindcss';
import autoprefixer from 'autoprefixer';
const config = {
plugins: { plugins: {
tailwindcss: {}, tailwindcss,
autoprefixer: {}, autoprefixer,
}, },
} };
export default config;

View File

@ -1,5 +1,5 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { const config = {
content: [ content: [
"./index.html", "./index.html",
"./src/**/*.{js,ts,jsx,tsx}", "./src/**/*.{js,ts,jsx,tsx}",
@ -8,4 +8,6 @@ module.exports = {
extend: {}, extend: {},
}, },
plugins: [], plugins: [],
} };
export default config;