update configuration files

This commit is contained in:
Triston Armstrong 2023-12-25 19:23:52 -06:00
parent 78e329b1b1
commit 8e31dcb268
2 changed files with 7 additions and 13 deletions

View File

@ -1,13 +1,5 @@
module.exports = { module.exports = {
swcMinify: true, swcMinify: true,
rewrites: async () => {
return [
{
source: "/",
destination: "/index.html",
}
]
},
webpack: (config) => { webpack: (config) => {
config.resolve.fallback = { config.resolve.fallback = {
fs: false, fs: false,

View File

@ -1,15 +1,17 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = { module.exports = {
content: [ content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}", "./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}", "./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
], ],
theme: { theme: {
extend: {}, extend: {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
},
}, },
plugins: [], plugins: [],
} }