Closed ckangwen closed 4 months ago
what if we have some lib dependency in the meta options, and that option would be called in some where. for example
import { add } from 'lodash'
definePageRoute({
meta: {
title: 'CustomRouteBlock',
load: () => {
add(1,2)
}
},
})
test: update snapshots
Description
Add a new configuration option to support custom resolve route block.
Type:
(content: string, path: string) => Awaitable<CustomBlock | void>
Additional context
pnpm run test parser
is ok, butpnpm run test
get error.What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).