Skip to content

Commit

Permalink
nextra loader
Browse files Browse the repository at this point in the history
  • Loading branch information
szabinakov committed Feb 8, 2024
1 parent 3437f4a commit 6f9bfe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/nextra/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@charisma-ai/nextra",
"version": "2.13.4",
"version": "2.13.5",
"description": "Next.js and MDX based site generator.",
"repository": "https://github.com/charisma-ai/charisma-nextra",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/nextra/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const nextra = (themeOrNextraConfig, themeConfig) =>
use: [
options.defaultLoaders.babel,
{
loader: 'nextra/loader',
loader: '@charisma-ai/nextra/loader',
options: nextraLoaderOptions
}
]
Expand All @@ -103,7 +103,7 @@ const nextra = (themeOrNextraConfig, themeConfig) =>
use: [
options.defaultLoaders.babel,
{
loader: 'nextra/loader',
loader: '@charisma-ai/nextra/loader',
options: {
...nextraLoaderOptions,
isPageImport: true
Expand All @@ -118,7 +118,7 @@ const nextra = (themeOrNextraConfig, themeConfig) =>
use: [
options.defaultLoaders.babel,
{
loader: 'nextra/loader',
loader: '@charisma-ai/nextra/loader',
options: {
isMetaImport: true
}
Expand Down

0 comments on commit 6f9bfe3

Please sign in to comment.