Skip to content

Commit

Permalink
Re-add sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed May 15, 2023
1 parent 859b7dc commit 17cea72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
if (config.command === 'serve') {
const getContentWithSourcemap = async (content: string) => {
if (
config.css?.transformer !== 'LightningCSS' &&
config.css?.transformer === 'LightningCSS' ||
config.css?.devSourcemap
) {
const sourcemap = this.getCombinedSourcemap()
Expand Down

0 comments on commit 17cea72

Please sign in to comment.