fix(schema): update resolver for cssSourceMap with new sourcemap format [bridge] (#7541)

This commit is contained in:
Daniel Roe 2022-09-15 12:10:36 +01:00 committed by GitHub
parent 9426b54562
commit b2f147d5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ export default defineUntypedSchema({
* @version 2 * @version 2
*/ */
cssSourceMap: { cssSourceMap: {
$resolve: async (val, get) => val ?? await get('sourcemap') ?? await get('dev') $resolve: async (val, get) => val ?? (await get('sourcemap.client') || await get('sourcemap.server')) ?? await get('dev')
}, },
/** /**