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 Sep 16, 2021
1 parent 9260848 commit 72cb33e
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 @@ -179,8 +179,7 @@ export function cssPlugin(config: ResolvedConfig): Plugin {
const {
code: css,
modules,
deps,
map
deps
} = await compileCSS(
id,
raw,
Expand Down Expand Up @@ -242,7 +241,8 @@ export function cssPlugin(config: ResolvedConfig): Plugin {

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

0 comments on commit 72cb33e

Please sign in to comment.