Fix redocly/portal→realm import paths

This commit is contained in:
mDuo13
2024-01-03 18:36:32 -08:00
parent c181de74d7
commit b1f1f1155d
4 changed files with 6 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
// @ts-check
import { getInnerText } from '@redocly/portal/dist/shared/markdoc.js';
import { getInnerText } from '@redocly/realm/dist/shared/markdoc.js';
import { dirname, relative, join as joinPath } from 'path';
import markdoc from '@markdoc/markdoc';
export function codeSamples() {
/** @type {import("@redocly/portal/dist/server/plugins/types").PluginInstance } */
/** @type {import("@redocly/realm/dist/server/plugins/types").PluginInstance } */
const instance = {
processContent: async (contentProvider, actions) => {
try {