Skip to content

Commit

Permalink
fix(css): revert return sourcemap in vite:css transform (#4880) (#4951)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg authored and antfu committed Sep 17, 2021
1 parent a93e03a commit 17feb38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vite/src/node/plugins/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ export function cssPlugin(config: ResolvedConfig): Plugin {
const {
code: css,
modules,
deps,
map
deps
} = await compileCSS(
id,
raw,
Expand Down Expand Up @@ -241,7 +240,8 @@ export function cssPlugin(config: ResolvedConfig): Plugin {

return {
code: css,
map
// TODO CSS source map
map: { mappings: '' }
}
}
}
Expand Down

0 comments on commit 17feb38

Please sign in to comment.