fix: Enable sourcemaps on debug Vite Trace Viewer service worker build
This commit is contained in:
parent
733f9a2926
commit
a66350b86d
|
|
@ -40,6 +40,7 @@ export default defineConfig({
|
||||||
// outputs into the public dir, where the build of vite.config.ts will pick it up
|
// outputs into the public dir, where the build of vite.config.ts will pick it up
|
||||||
outDir: path.resolve(__dirname, 'public'),
|
outDir: path.resolve(__dirname, 'public'),
|
||||||
emptyOutDir: false,
|
emptyOutDir: false,
|
||||||
|
sourcemap: true,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: {
|
input: {
|
||||||
sw: path.resolve(__dirname, 'src/sw-main.ts'),
|
sw: path.resolve(__dirname, 'src/sw-main.ts'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue