From 7d55e61d90543114823ff818bcb3ba4b9ebb355d Mon Sep 17 00:00:00 2001 From: dominikg Date: Thu, 16 Sep 2021 17:03:00 +0200 Subject: [PATCH] Revert "fix(css): return sourcemap in vite:css transform (#4880)" This reverts commit 015290a169d5ca3806aa0b2eb417426d61df9b7d. --- packages/vite/src/node/plugins/css.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vite/src/node/plugins/css.ts b/packages/vite/src/node/plugins/css.ts index f618a39715775d..dd7366874d984b 100644 --- a/packages/vite/src/node/plugins/css.ts +++ b/packages/vite/src/node/plugins/css.ts @@ -179,8 +179,7 @@ export function cssPlugin(config: ResolvedConfig): Plugin { const { code: css, modules, - deps, - map + deps } = await compileCSS( id, raw, @@ -242,7 +241,8 @@ export function cssPlugin(config: ResolvedConfig): Plugin { return { code: css, - map + // TODO CSS source map + map: { mappings: '' } } } }