@astrojs/mdx 0.19.5 → 0.19.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -29,7 +29,10 @@ function mdx(partialMdxOptions = {}) {
|
|
|
29
29
|
contentModuleTypes: await fs.readFile(
|
|
30
30
|
new URL("../template/content-module-types.d.ts", import.meta.url),
|
|
31
31
|
"utf-8"
|
|
32
|
-
)
|
|
32
|
+
),
|
|
33
|
+
// MDX can import scripts and styles,
|
|
34
|
+
// so wrap all MDX files with script / style propagation checks
|
|
35
|
+
handlePropagation: true
|
|
33
36
|
});
|
|
34
37
|
const extendMarkdownConfig = partialMdxOptions.extendMarkdownConfig ?? defaultMdxOptions.extendMarkdownConfig;
|
|
35
38
|
const mdxOptions = applyDefaultOptions({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/mdx",
|
|
3
3
|
"description": "Add support for MDX pages in your Astro site",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"author": "withastro",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"remark-shiki-twoslash": "^3.1.0",
|
|
68
68
|
"remark-toc": "^8.0.1",
|
|
69
69
|
"vite": "^4.3.1",
|
|
70
|
-
"astro": "2.
|
|
70
|
+
"astro": "2.6.1",
|
|
71
71
|
"astro-scripts": "0.0.14"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|