Skip to content

Commit

Permalink
feat: include source content in sourcemap
Browse files Browse the repository at this point in the history
This commit modifies the unpluginFactory to include the source content
in the generated sourcemap. This change will improve the debugging
experience as the original source code will be included in the map file.
  • Loading branch information
ryoppippi committed Jul 22, 2024
1 parent 2177417 commit dcc6a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/unplugin-typia/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const unpluginFactory: UnpluginFactory<
map: s.generateMap({
source: id,
file: `${id}.map`,
includeContent: true,
}),
};
}
Expand Down

0 comments on commit dcc6a21

Please sign in to comment.