Skip to content

Commit

Permalink
fix: Fix assets bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Oct 20, 2024
1 parent 5ea1ef4 commit 37c1f7c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"node": ">=18.*"
},
"dependencies": {
"@diplodoc/client": "^3.1.2",
"@diplodoc/client": "^3.1.3",
"@diplodoc/search-extension": "^1.1.4",
"@diplodoc/translation": "^1.4.3",
"katex": "^0.16.9",
Expand All @@ -46,8 +46,8 @@
"devDependencies": {
"@aws-sdk/client-s3": "^3.525.0",
"@diplodoc/eslint-config": "^2.0.0",
"@diplodoc/latex-extension": "^1.1.0",
"@diplodoc/mermaid-extension": "^1.2.1",
"@diplodoc/latex-extension": "^1.3.2",
"@diplodoc/mermaid-extension": "^1.3.1",
"@diplodoc/openapi-extension": "^2.4.0",
"@diplodoc/prettier-config": "^2.0.0",
"@diplodoc/transform": "^4.32.2",
Expand Down
1 change: 1 addition & 0 deletions src/services/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ async function release() {
}

if (isLocalSearchEnabled()) {
mkdirSync(bundleDir(), {recursive: true});
copyFileSync(apiPath, apiLink());
}

Expand Down

0 comments on commit 37c1f7c

Please sign in to comment.