mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
Enable source maps for JavaScript and CSS
- Add vite.build.sourcemap for production builds - Add vite.css.devSourcemap for CSS in development
This commit is contained in:
@@ -11,4 +11,12 @@ export default defineConfig({
|
||||
assets: "assets",
|
||||
},
|
||||
trailingSlash: "always",
|
||||
vite: {
|
||||
build: {
|
||||
sourcemap: true,
|
||||
},
|
||||
css: {
|
||||
devSourcemap: true,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user