@portosaur/core 0.9.6 → 0.9.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portosaur/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "The engine of portosaur that translates YAML configuration into Docusaurus structures.",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"author": "soymadip",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"types": "./src/index.d.ts",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@portosaur/logger": "^0.9.
|
|
34
|
+
"@portosaur/logger": "^0.9.7",
|
|
35
35
|
"favicons": "^7.2.0",
|
|
36
36
|
"js-yaml": "^4.1.1",
|
|
37
37
|
"rehype-katex": "7",
|
|
@@ -415,18 +415,23 @@ export function buildDocuConfig(rawUserConfig, projectDir, context = {}) {
|
|
|
415
415
|
],
|
|
416
416
|
|
|
417
417
|
plugins: [
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
418
|
+
...(env.NODE_ENV === "production"
|
|
419
|
+
? [
|
|
420
|
+
[
|
|
421
|
+
"@docusaurus/plugin-pwa",
|
|
422
|
+
{
|
|
423
|
+
debug: false,
|
|
424
|
+
offlineModeActivationStrategies: [
|
|
425
|
+
"appInstalled",
|
|
426
|
+
"standalone",
|
|
427
|
+
"queryString",
|
|
428
|
+
"mobile",
|
|
429
|
+
"saveData",
|
|
430
|
+
],
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
]
|
|
434
|
+
: []),
|
|
430
435
|
|
|
431
436
|
// Serve the theme's pages/ directory as page routes.
|
|
432
437
|
// This registers pages/index.jsx → / and pages/tasks.jsx → /tasks etc.
|