From 51d7547b14f2b4ff69c45f05d695539ad5893a05 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Mon, 9 Dec 2024 14:55:58 +0300 Subject: [PATCH] Fix website config for future guild components --- website/postcss.config.cjs | 1 - website/postcss.config.mjs | 1 + website/tailwind.config.ts | 2 +- website/tsconfig.json | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 website/postcss.config.cjs create mode 100644 website/postcss.config.mjs diff --git a/website/postcss.config.cjs b/website/postcss.config.cjs deleted file mode 100644 index 204207501e9..00000000000 --- a/website/postcss.config.cjs +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@theguild/tailwind-config/postcss.config'); diff --git a/website/postcss.config.mjs b/website/postcss.config.mjs new file mode 100644 index 00000000000..52319170b62 --- /dev/null +++ b/website/postcss.config.mjs @@ -0,0 +1 @@ +export * from '@theguild/tailwind-config/postcss.config'; diff --git a/website/tailwind.config.ts b/website/tailwind.config.ts index 8bf95edb82c..50f98911b50 100644 --- a/website/tailwind.config.ts +++ b/website/tailwind.config.ts @@ -1 +1 @@ -export { default } from '@theguild/tailwind-config'; +export * from '@theguild/tailwind-config'; diff --git a/website/tsconfig.json b/website/tsconfig.json index 8a6729ad76e..02662b07f9a 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es2019", - "module": "commonjs", + "module": "ESNext", "strict": true, "esModuleInterop": true, "skipLibCheck": true, @@ -9,7 +9,7 @@ "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "noEmit": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve",