Skip to content

Commit

Permalink
[#51] Add source map
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Aug 29, 2024
1 parent 08f8392 commit 452097a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,17 @@ export default defineConfig({
include: ["websocket", "tty", "http"],
}),
],
build: {
sourcemap: true,
},
define: {
"process.env": process.env,
},
resolve: {
mainFields: [],
},

server: {
proxy: {
"/public/icons": {
target: "http://localhost:3000",
changeOrigin: true,
rewrite: (path) => path.replace(/^\/public\/icons/, "/public/icons"),
},
"/rest": {
target: "http://localhost:18115/og_spipes",
ws: true,
Expand Down

0 comments on commit 452097a

Please sign in to comment.