We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff94fa commit 457c9aeCopy full SHA for 457c9ae
packages/compiler-sfc/src/compileStyle.ts
@@ -186,7 +186,7 @@ export function doCompileStyle(
186
return result
187
.then(result => ({
188
code: result.css || '',
189
- map: result.map && (result.map.toJSON() as any),
+ map: result.map && result.map.toJSON(),
190
errors,
191
modules: cssModules,
192
rawResult: result,
@@ -211,7 +211,7 @@ export function doCompileStyle(
211
212
return {
213
code: code || ``,
214
- map: outMap && (outMap.toJSON() as any),
+ map: outMap && outMap.toJSON(),
215
216
217
dependencies
0 commit comments