Skip to content

Commit

Permalink
🔧 fix: reduce bundlesize leftover from scalar api reference fr this time
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Jan 7, 2024
1 parent 0bc5a11 commit 75a904b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.8.3 - 8 Jan 2023
Bug fix:
- Using local Scalar API reference instead of leftover one (oppsie 👉👈)

# 0.8.2 - 8 Jan 2023
Improvement:
- Extract type inference to reduce bundle-size
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elysiajs/swagger",
"version": "0.8.2",
"version": "0.8.3",
"description": "Plugin for Elysia to auto-generate Swagger page",
"author": {
"name": "saltyAom",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ScalarRender } from './scalar'
import { filterPaths, registerSchemaPath } from './utils'

import type { OpenAPIV3 } from 'openapi-types'
import type { ReferenceConfiguration } from '@scalar/api-reference'
import type { ReferenceConfiguration } from './scalar/types'
import type { ElysiaSwaggerConfig } from './types'

/**
Expand Down

0 comments on commit 75a904b

Please sign in to comment.