From bfc2feb42757220a1d71f9c1ea4ab130da7dc589 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 8 Oct 2022 16:24:22 +0100 Subject: [PATCH] Save site to public dir So it can be picked up by GitLab Pages --- .gitignore | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3502ef7..62f4471 100644 --- a/.gitignore +++ b/.gitignore @@ -99,7 +99,7 @@ dist .cache/ # Comment in the public line in if your project uses Gatsby and not Next.js # https://nextjs.org/blog/next-9-1#public-directory-support -# public +public # vuepress build output .vuepress/dist diff --git a/package.json b/package.json index b422fca..19c1c89 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "", "scripts": { - "build": "parcel build --public-url . src/index.html", + "build": "parcel build --public-url . --dist-dir public/ src/index.html", "start": "parcel src/index.html" }, "author": "Jake Howard",