Temporarily remove astro-compress and use Squoosh due to sharp errors
This commit is contained in:
@ -8,7 +8,6 @@ import tailwind from '@astrojs/tailwind';
|
|||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
import partytown from '@astrojs/partytown';
|
import partytown from '@astrojs/partytown';
|
||||||
import icon from 'astro-icon';
|
import icon from 'astro-icon';
|
||||||
import compress from 'astro-compress';
|
|
||||||
import tasks from './src/utils/tasks';
|
import tasks from './src/utils/tasks';
|
||||||
|
|
||||||
import { readingTimeRemarkPlugin, responsiveTablesRehypePlugin } from './src/utils/frontmatter.mjs';
|
import { readingTimeRemarkPlugin, responsiveTablesRehypePlugin } from './src/utils/frontmatter.mjs';
|
||||||
@ -61,15 +60,6 @@ export default defineConfig({
|
|||||||
),
|
),
|
||||||
|
|
||||||
tasks(),
|
tasks(),
|
||||||
|
|
||||||
compress({
|
|
||||||
CSS: true,
|
|
||||||
HTML: false,
|
|
||||||
Image: false,
|
|
||||||
JavaScript: true,
|
|
||||||
SVG: true,
|
|
||||||
Logger: 1,
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
|
|
||||||
image: {
|
image: {
|
||||||
|
10
package.json
10
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@onwidget/astrowind",
|
"name": "@onwidget/astrowind",
|
||||||
"description": "AstroWind: A free template using Astro 3.0 and Tailwind CSS. Astro starter theme.",
|
"description": "AstroWind: A free template using Astro 3.0 and Tailwind CSS. Astro starter theme.",
|
||||||
"version": "1.0.0-beta.11",
|
"version": "1.0.0-beta.12",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
@ -19,7 +19,6 @@
|
|||||||
"@astrolib/seo": "^1.0.0-beta.5",
|
"@astrolib/seo": "^1.0.0-beta.5",
|
||||||
"@fontsource-variable/inter": "^5.0.16",
|
"@fontsource-variable/inter": "^5.0.16",
|
||||||
"astro": "^4.0.6",
|
"astro": "^4.0.6",
|
||||||
"astro-compress": "^2.2.5",
|
|
||||||
"astro-icon": "1.0.0-next.2",
|
"astro-icon": "1.0.0-next.2",
|
||||||
"limax": "4.1.0",
|
"limax": "4.1.0",
|
||||||
"lodash.merge": "^4.6.2",
|
"lodash.merge": "^4.6.2",
|
||||||
@ -48,13 +47,6 @@
|
|||||||
"tailwindcss": "^3.4.0",
|
"tailwindcss": "^3.4.0",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
|
||||||
"astro/sharp": "0.33.1",
|
|
||||||
"astro-compress/sharp": "0.33.1"
|
|
||||||
},
|
|
||||||
"overrides": {
|
|
||||||
"sharp": "0.33.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.14.1"
|
"node": ">=18.14.1"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user