Skip to content

Commit

Permalink
Update additional import
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed May 16, 2023
1 parent cc5c9c4 commit 4a59bad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/remix-dev/compiler/js/plugins/routes_unstable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export function browserRouteModulesPlugin(
return {
name: "browser-route-modules",
async setup(build) {
let [xdm, { default: remarkFrontmatter }] = await Promise.all([
import("xdm"),
let [mdx, { default: remarkFrontmatter }] = await Promise.all([
import("@mdx-js/mdx"),
import("remark-frontmatter") as any,
]);

Expand Down Expand Up @@ -100,7 +100,7 @@ export function browserRouteModulesPlugin(

if (/\.mdx?$/.test(file)) {
let mdxResult = await processMDX(
xdm,
mdx,
remarkFrontmatter,
config,
args.path,
Expand Down

0 comments on commit 4a59bad

Please sign in to comment.