@soubiran/vite 0.8.4 → 0.8.6
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.mjs +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -639,7 +639,7 @@ function processMarkdownFile(filePath, category) {
|
|
|
639
639
|
* Generates the pages API JSON files in dist/api directory
|
|
640
640
|
*/
|
|
641
641
|
function generateJsonApi(outDir, categories, logger) {
|
|
642
|
-
const pagesDir = resolve(cwd(), "pages");
|
|
642
|
+
const pagesDir = resolve(cwd(), "src", "app", "pages");
|
|
643
643
|
const distDir = resolve(cwd(), outDir);
|
|
644
644
|
for (const name of categories) {
|
|
645
645
|
const processedFiles = scanMarkdownFiles(join(pagesDir, name)).map((file) => processMarkdownFile(file, name));
|
|
@@ -829,7 +829,7 @@ function raw_markdown_default() {
|
|
|
829
829
|
},
|
|
830
830
|
closeBundle() {
|
|
831
831
|
if (this.environment.name !== "client") return;
|
|
832
|
-
const pagesDir = resolve(cwd(), "pages");
|
|
832
|
+
const pagesDir = resolve(cwd(), "src", "app", "pages");
|
|
833
833
|
const distDir = resolve(cwd(), config.build.outDir);
|
|
834
834
|
const time = Date.now();
|
|
835
835
|
config.logger.info(yellow("Copy and Sanitize Markdown"));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soubiran/vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.6",
|
|
5
5
|
"author": "Estéban Soubiran <esteban@soubiran.dev>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/Barbapapazes",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vite": "^8.0.10",
|
|
64
64
|
"vite-ssg": "^28.3.0",
|
|
65
65
|
"vue-router": "^5.0.6",
|
|
66
|
-
"@soubiran/ui": "0.8.
|
|
66
|
+
"@soubiran/ui": "0.8.6"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"tsdown": "^0.21.10"
|