test run
This commit is contained in:
23
pagex.config.js
Normal file
23
pagex.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import {PagexTemplateType} from "pagex";
|
||||
|
||||
export default {
|
||||
id: "voidcannon",
|
||||
site_config: {
|
||||
title: "voidcannon-dev"
|
||||
},
|
||||
base: process.env.CI_PAGES_URL ? new URL(process.env.CI_PAGES_URL).pathname + (new URL(process.env.CI_PAGES_URL).pathname.endsWith("/") ? "":"/") : "/blog" + "/" || "",
|
||||
output: {
|
||||
path: "dist"
|
||||
},
|
||||
pagex_content: {
|
||||
content: "./src/",
|
||||
templates: "./voidcannon/src/",
|
||||
client: {
|
||||
components: "./voidcannon/src/client/components.js",
|
||||
entrypoint: "./voidcannon/src/client/index.js"
|
||||
}
|
||||
},
|
||||
templates: {
|
||||
[PagexTemplateType.BASE_PAGE]: "frames/Page.js"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user