Skip to content

Commit

Permalink
Fix scanning sourcemap handling (#6114)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and matthewp committed Feb 3, 2023
1 parent d04dbdf commit 91b3307
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-flies-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix sourcemap generation when scanning files
1 change: 1 addition & 0 deletions packages/astro/src/vite-plugin-scanner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function astroScannerPlugin({ settings }: { settings: AstroSettin
const { meta = {} } = this.getModuleInfo(id) ?? {};
return {
code,
map: null,
meta: {
...meta,
astro: {
Expand Down

0 comments on commit 91b3307

Please sign in to comment.