This commit is contained in:
Sergey Yarkov 2022-08-01 02:29:53 +03:00
parent e1d6f776f2
commit 6de7cced23
3 changed files with 6 additions and 24 deletions

View File

@ -14,4 +14,7 @@ export default defineConfig({
external: ['svgo'], external: ['svgo'],
}, },
}, },
experimental: {
integrations: true,
},
}); });

View File

@ -10,10 +10,10 @@
}, },
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "astro dev --host --experimental-integrations", "dev": "astro dev --host",
"start": "astro dev", "start": "astro dev",
"build": "astro build --experimental-integrations", "build": "astro build",
"preview": "astro preview --host --experimental-integrations", "preview": "astro preview --host",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json}\"",
"lint": "eslint '**/*.{js,mjs,ts,tsx}'" "lint": "eslint '**/*.{js,mjs,ts,tsx}'"
}, },

View File

@ -171,24 +171,3 @@ a {
color: var(--color-blue-400); 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;
// }