Add build option to generate sourcemaps

This commit is contained in:
Bubka 2024-09-27 17:06:43 +02:00
parent d6e6493504
commit 7c2ed9cff7

1
vite.config.js vendored
View File

@ -72,6 +72,7 @@ export default defineConfig({
}, },
}, },
build: { build: {
// sourcemap: true,
rollupOptions: { rollupOptions: {
output: { output: {
banner: '/*! 2FAuth version ' + version + ' - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */', banner: '/*! 2FAuth version ' + version + ' - Copyright (c) 2024 Bubka - https://github.com/Bubka/2FAuth */',