From 6de7cced234c8ed52e5aae36a47f1675c4acf8dd Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Mon, 1 Aug 2022 02:29:53 +0300 Subject: [PATCH] config --- astro.config.mjs | 3 +++ package.json | 6 +++--- src/styles/global.scss | 21 --------------------- 3 files changed, 6 insertions(+), 24 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 98acc5d..0f513c3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -14,4 +14,7 @@ export default defineConfig({ external: ['svgo'], }, }, + experimental: { + integrations: true, + }, }); diff --git a/package.json b/package.json index 0e599fe..4c8882d 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ }, "license": "MIT", "scripts": { - "dev": "astro dev --host --experimental-integrations", + "dev": "astro dev --host", "start": "astro dev", - "build": "astro build --experimental-integrations", - "preview": "astro preview --host --experimental-integrations", + "build": "astro build", + "preview": "astro preview --host", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"", "lint": "eslint '**/*.{js,mjs,ts,tsx}'" }, diff --git a/src/styles/global.scss b/src/styles/global.scss index 9a47a86..2fd7620 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -171,24 +171,3 @@ a { color: var(--color-blue-400); } } - -// pre[class*=language-]:before { -// color: #232129; -// font-size: .75rem; -// font-family: SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace; -// letter-spacing: .075em; -// line-height: 1; -// position: absolute; -// left: 1.5rem; -// text-align: right; -// text-transform: uppercase; -// top: 0; -// border-radius: 0 0 4px 4px; -// padding: 0.25rem 0.5rem; -// } - -// pre[class*=language-typescript]:before { -// content: "ts"; -// background: #007acc; -// color: #eee; -// }