Fix scanning sourcemap handling (#6114)
This commit is contained in:
parent
d04dbdfa19
commit
91b3307b98
2 changed files with 6 additions and 0 deletions
5
.changeset/lemon-flies-clean.md
Normal file
5
.changeset/lemon-flies-clean.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix sourcemap generation when scanning files
|
|
@ -29,6 +29,7 @@ export default function astroScannerPlugin({ settings }: { settings: AstroSettin
|
|||
const { meta = {} } = this.getModuleInfo(id) ?? {};
|
||||
return {
|
||||
code,
|
||||
map: null,
|
||||
meta: {
|
||||
...meta,
|
||||
astro: {
|
||||
|
|
Loading…
Reference in a new issue