Skip to content

Commit

Permalink
fix: include sources in source map
Browse files Browse the repository at this point in the history
fixes "Failed to parse source map from 'node_modules\openapi-msw\exports\main.ts'" error when serving with vite
  • Loading branch information
luchsamapparat committed Nov 7, 2023
1 parent fe48de1 commit d15bf9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eighty-ads-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"openapi-msw": patch
---

fix compilation warning due to missing sources in source map
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"sourceMap": true
"sourceMap": true,
"inlineSources": true
},
"include": ["src", "exports"],
"exclude": ["**/*.test.*"]
Expand Down

0 comments on commit d15bf9f

Please sign in to comment.