Skip to content

Commit

Permalink
path-browserify
Browse files Browse the repository at this point in the history
  • Loading branch information
abentkamp committed Oct 24, 2023
1 parent 5ea37b4 commit ab0a394
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import { viteStaticCopy } from 'vite-plugin-static-copy'
import path from "path-browserify"

// https://vitejs.dev/config/
export default defineConfig({
Expand All @@ -22,5 +23,10 @@ export default defineConfig({
ws: true
},
}
}
},
resolve: {
alias: {
path: "path-browserify",
},
},
})

0 comments on commit ab0a394

Please sign in to comment.