Skip to content

Commit

Permalink
fix(css): revert return sourcemap in vite:css transform (vitejs#4880) (
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg authored and aleclarson committed Nov 8, 2021
1 parent ab666ec commit cd5708a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vite/src/node/plugins/css.ts
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 cd5708a

Please sign in to comment.