Skip to content

Commit 4808674

Browse files
chore!: remove minifier
1 parent 58c55af commit 4808674

File tree

6 files changed

+9
-140
lines changed

6 files changed

+9
-140
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@ interface ViteReactSSGOptions {
459459
*
460460
* @default 'none'
461461
*/
462-
formatting?: 'minify' | 'prettify' | 'none'
462+
formatting?: 'prettify' | 'none'
463463
/**
464-
* Vite environmeng mode.
464+
* Vite environment mode.
465465
*/
466466
mode?: string
467467
/**
@@ -475,7 +475,7 @@ interface ViteReactSSGOptions {
475475
dirStyle?: 'flat' | 'nested'
476476
/**
477477
* Generate for all routes, including dynamic routes.
478-
* If enabled, you will need to configGure your serve
478+
* If enabled, you will need to configure your serve
479479
* manually to handle dynamic routes properly.
480480
*
481481
* @default false

docs/src/pages/docs/Configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Mock browser global variables (window, document, etc...) from SSG.
110110
#### type
111111

112112
```ts
113-
'minify' | 'prettify' | 'none'
113+
'prettify' | 'none'
114114
```
115115

116116
**default** `'none'`
@@ -127,7 +127,7 @@ Apply formatter to the generated index file.
127127
string
128128
```
129129

130-
Vite environmeng mode.
130+
Vite environment mode.
131131

132132
### dirStyle
133133

@@ -155,7 +155,7 @@ boolean
155155
**default** `false`
156156

157157
Generate for all routes, including dynamic routes.
158-
If enabled, you will need to configGure your serve
158+
If enabled, you will need to configure your serve
159159
manually to handle dynamic routes properly.
160160

161161
### crittersOptions

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@
102102
"dependencies": {
103103
"@remix-run/web-fetch": "^4.4.2",
104104
"fs-extra": "^11.2.0",
105-
"html-minifier": "^4.0.0",
106105
"html5parser": "^2.0.2",
107106
"jsdom": "^24.1.1",
108107
"kolorist": "^1.8.0",
@@ -112,7 +111,6 @@
112111
"devDependencies": {
113112
"@ririd/eslint-config": "^1.3.2",
114113
"@types/fs-extra": "^11.0.4",
115-
"@types/html-minifier": "^4.0.5",
116114
"@types/jsdom": "^21.1.7",
117115
"@types/node": "^18.19.44",
118116
"@types/react": "^18.2.14",

0 commit comments

Comments
 (0)