Skip to content

Commit

Permalink
chore: add http2 to vite resolve alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ruifigueira committed Sep 11, 2024
1 parent 0e337c0 commit 20acb45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default defineConfig({
'fs': path.resolve(__dirname, './src/shims/fs'),
'graceful-fs': path.resolve(__dirname, './src/shims/fs'),
'http': path.resolve(__dirname, './node_modules/stream-http'),
'http2': path.resolve(__dirname, './node_modules/stream-http'),
'https': path.resolve(__dirname, './node_modules/https-browserify'),
'module': path.resolve(__dirname, './src/shims/module'),
'net': path.resolve(__dirname, './src/shims/net'),
Expand Down

0 comments on commit 20acb45

Please sign in to comment.