mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-03 08:32:52 +00:00
feat: enable source maps in production builds
This commit is contained in:
@@ -20,6 +20,7 @@ export default defineConfig({
|
|||||||
build: {
|
build: {
|
||||||
// we rely on the serial api, so just chrome is fine
|
// we rely on the serial api, so just chrome is fine
|
||||||
target: ["chrome114", "safari16"],
|
target: ["chrome114", "safari16"],
|
||||||
|
sourcemap: true,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
external: isTauri ? [/virtual:pwa.*/] : [],
|
external: isTauri ? [/virtual:pwa.*/] : [],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user