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 249bba1 commit d8eade1
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 @@ -78,8 +78,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 @@ -107,7 +107,7 @@ export function browserRouteModulesPlugin(

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

0 comments on commit d8eade1

Please sign in to comment.