Skip to content

Commit

Permalink
vite filename present
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Nov 10, 2023
1 parent 9f7604f commit 235c95f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-flies-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@prefresh/vite': patch
---

Add filename to the vite options as well
1 change: 1 addition & 0 deletions packages/vite/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const transform = (code, path, plugins) =>
},
ast: false,
sourceMaps: true,
filename: path,
sourceFileName: path,
configFile: false,
babelrc: false,
Expand Down

0 comments on commit 235c95f

Please sign in to comment.