Skip to content

Commit

Permalink
chore: use path-browserify to fix build warning
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
  • Loading branch information
pedrolamas committed Oct 17, 2024
1 parent 2f64a1b commit 8a61ba4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"monaco-textmate": "^3.0.1",
"onigasm": "^2.2.5",
"panzoom": "^9.4.3",
"path-browserify": "^1.0.1",
"qr-scanner": "^1.4.2",
"qrcode.vue": "^1.7.0",
"semver": "^7.6.3",
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ export default defineConfig({

resolve: {
alias: {
'@': path.resolve(__dirname, './src')
'@': path.resolve(__dirname, './src'),
path: 'path-browserify'
}
},

Expand Down

0 comments on commit 8a61ba4

Please sign in to comment.