Skip to content

Commit

Permalink
Update packages/integrations/markdoc/src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Holmes <[email protected]>
  • Loading branch information
matthewp and bholmesdev authored May 31, 2023
1 parent 30d086e commit e109dbb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/integrations/markdoc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ export const Content = createComponent({
// When a given Markdoc file actually uses that component.
// Add the `astroPropagatedAssets` flag to inject only when rendered.
resolveId(this: rollup.TransformPluginContext, id: string, importer: string) {
console.log("IS", markdocConfigResultId, importer)
if (importer === markdocConfigResultId && id.endsWith('.astro')) {
return this.resolve(id + '?astroPropagatedAssets', importer, {
skipSelf: true,
Expand Down

0 comments on commit e109dbb

Please sign in to comment.