diff --git a/packages/website/astro.config.mjs b/packages/website/astro.config.mjs index 384e42a..23e6a53 100644 --- a/packages/website/astro.config.mjs +++ b/packages/website/astro.config.mjs @@ -35,8 +35,6 @@ function createSVG(icon, iconlist = fluentIcons) { }, [IconData.body]); } -import { build } from 'esbuild'; - // https://astro.build/config export default defineConfig({ outDir, @@ -73,11 +71,11 @@ export default defineConfig({ applyBaseStyles: false } }), - Partytown({ - config: { - // forward: ['dataLayer.push'], - } - }), + // Partytown({ + // config: { + // // forward: ['dataLayer.push'], + // } + // }), Sitemap(), PRODUCTION_MODE ? Compress() : { name: "blank" }, ], diff --git a/packages/website/src/scripts/workers/other-ts.ts b/packages/website/src/scripts/workers/other-ts.ts index 8c710b6..0fc192b 100644 --- a/packages/website/src/scripts/workers/other-ts.ts +++ b/packages/website/src/scripts/workers/other-ts.ts @@ -202,6 +202,7 @@ export class OtherTSWorker { let clause = isImport ? (node as ts.ImportDeclaration)?.importClause : (node as ts.ExportDeclaration)?.exportClause; + console.log(clause, node) ImportExportStatements.push({ kind: isImport ? "import" : "export",