@ox-content/unplugin 2.10.0 → 2.11.0
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.d.mts +1 -1
- package/dist/src.mjs +5 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
package/dist/src.mjs
CHANGED
|
@@ -1214,7 +1214,11 @@ function resolveDocsConfig(docs) {
|
|
|
1214
1214
|
* Resolves plugin options with defaults.
|
|
1215
1215
|
*/
|
|
1216
1216
|
function resolveOptions(options) {
|
|
1217
|
-
const extensions = options.extensions ?? [
|
|
1217
|
+
const extensions = options.extensions ?? [
|
|
1218
|
+
".md",
|
|
1219
|
+
".markdown",
|
|
1220
|
+
".mdx"
|
|
1221
|
+
];
|
|
1218
1222
|
return {
|
|
1219
1223
|
srcDir: options.srcDir ?? "docs",
|
|
1220
1224
|
gfm: options.gfm ?? true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ox-content/unplugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Universal plugin for Ox Content - Markdown processing for webpack, rollup, esbuild, vite, and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esbuild",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"remark-rehype": "^11.1.1",
|
|
66
66
|
"unified": "^11.0.5",
|
|
67
67
|
"unplugin": "^2.1.2",
|
|
68
|
-
"@ox-content/napi": "2.
|
|
68
|
+
"@ox-content/napi": "2.11.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/markdown-it": "^14.1.2",
|