Skip to content

Commit

Permalink
chore!: remove minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Daydreamer-riri committed Aug 28, 2024
1 parent 58c55af commit 4808674
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 140 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,9 @@ interface ViteReactSSGOptions {
*
* @default 'none'
*/
formatting?: 'minify' | 'prettify' | 'none'
formatting?: 'prettify' | 'none'
/**
* Vite environmeng mode.
* Vite environment mode.
*/
mode?: string
/**
Expand All @@ -475,7 +475,7 @@ interface ViteReactSSGOptions {
dirStyle?: 'flat' | 'nested'
/**
* Generate for all routes, including dynamic routes.
* If enabled, you will need to configGure your serve
* If enabled, you will need to configure your serve
* manually to handle dynamic routes properly.
*
* @default false
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Mock browser global variables (window, document, etc...) from SSG.
#### type

```ts
'minify' | 'prettify' | 'none'
'prettify' | 'none'
```

**default** `'none'`
Expand All @@ -127,7 +127,7 @@ Apply formatter to the generated index file.
string
```

Vite environmeng mode.
Vite environment mode.

### dirStyle

Expand Down Expand Up @@ -155,7 +155,7 @@ boolean
**default** `false`

Generate for all routes, including dynamic routes.
If enabled, you will need to configGure your serve
If enabled, you will need to configure your serve
manually to handle dynamic routes properly.

### crittersOptions
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"dependencies": {
"@remix-run/web-fetch": "^4.4.2",
"fs-extra": "^11.2.0",
"html-minifier": "^4.0.0",
"html5parser": "^2.0.2",
"jsdom": "^24.1.1",
"kolorist": "^1.8.0",
Expand All @@ -112,7 +111,6 @@
"devDependencies": {
"@ririd/eslint-config": "^1.3.2",
"@types/fs-extra": "^11.0.4",
"@types/html-minifier": "^4.0.5",
"@types/jsdom": "^21.1.7",
"@types/node": "^18.19.44",
"@types/react": "^18.2.14",
Expand Down
Loading

0 comments on commit 4808674

Please sign in to comment.