Skip to content

Commit

Permalink
deps: bump vite + update alias usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 15, 2021
1 parent c76cda6 commit c0aa5a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prismjs": "^1.23.0",
"sirv": "^1.0.11",
"slash": "^3.0.0",
"vite": "^2.0.0-beta.67",
"vite": "^2.0.0-beta.70",
"vue": "^3.0.5"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion src/node/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export function createVitePressPlugin(

config() {
return {
alias,
resolve: {
alias
},
define: {
__CARBON__: !!site.themeConfig.carbonAds?.carbon,
__BSA__: !!site.themeConfig.carbonAds?.custom,
Expand Down

0 comments on commit c0aa5a8

Please sign in to comment.