Skip to content

Commit

Permalink
fix(vite-plugin-angular): add sourcemap fix to optimizer plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Dec 15, 2023
1 parent 7e1d3fc commit 4144bab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export function buildOptimizerPlugin({
code: isProd
? code.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm, '')
: code,
map: {
mappings: '',
},
};
}

Expand Down

0 comments on commit 4144bab

Please sign in to comment.