diff --git a/gatsby-config.ts b/gatsby-config.ts index b79c0a0..e5be908 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -12,9 +12,6 @@ const config: GatsbyConfig = { plugins: [ { resolve: "gatsby-plugin-postcss", - options: { - postCssPlugins: [require("postcss-import"), require("tailwindcss"), require("autoprefixer")], - } }, "gatsby-plugin-typescript", "gatsby-plugin-image", diff --git a/tailwind.config.js b/tailwind.config.js index fb33998..e039ed4 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -35,6 +35,10 @@ module.exports = { }, }, }, + fontDisplay: { + inter: "swap", + kanit: "swap", + }, variants: { extend: {}, },