From 7558cf0d527f1c063953f3fbb0757ab8857f9cef Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Thu, 10 Aug 2023 12:11:47 +0200 Subject: [PATCH] fix(module): slot transform sourcemap --- pnpm-lock.yaml | 6 +++--- src/module.ts | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d7d55a3e..dd16f2798 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,7 +37,7 @@ dependencies: version: 2.0.0 nuxt-mdc: specifier: npm:nuxt-mdc-edge@latest - version: /nuxt-mdc-edge@0.0.2-28185536.2ce38f3(rollup@3.26.3) + version: /nuxt-mdc-edge@0.0.2-28192915.1a9aeb0(rollup@3.26.3) ohash: specifier: ^1.1.2 version: 1.1.2 @@ -6850,8 +6850,8 @@ packages: - supports-color dev: true - /nuxt-mdc-edge@0.0.2-28185536.2ce38f3(rollup@3.26.3): - resolution: {integrity: sha512-ZnYCIoyjX5+fQ7HeUd4S6aiRuWgKXg7BuBbC4z/lVZBxgepg3osO4j9mBnMSG5/mpnuYIdwNvmqlpL5VVriYsA==} + /nuxt-mdc-edge@0.0.2-28192915.1a9aeb0(rollup@3.26.3): + resolution: {integrity: sha512-pIIeWzI03KrkItLJFEFQMULx9jE4EmKEvZwhgwCIaR76VnhQtQc8u6O2Y7VkfW05RToe9OIyy5r0syvJJ+JmrQ==} dependencies: '@nuxt/kit': 3.6.5(rollup@3.26.3) '@types/hast': 3.0.0 diff --git a/src/module.ts b/src/module.ts index b91e1d5a0..e9f41b1d1 100644 --- a/src/module.ts +++ b/src/module.ts @@ -332,7 +332,10 @@ export default defineNuxtModule({ code = code.replace(/<\/ContentSlot>/g, '') code = code.replace(/