mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-12 19:40:02 -04:00
Switch workerware to a submodule
This commit is contained in:
parent
7a0695ac9c
commit
5d4397d38b
6 changed files with 13 additions and 174 deletions
|
@ -11,6 +11,9 @@ import { defineConfig, envField } from "astro/config";
|
|||
import { viteStaticCopy } from "vite-plugin-static-copy";
|
||||
import { version } from "./package.json";
|
||||
import { parsedDoc } from "./server/config.js";
|
||||
import { fileURLToPath } from "node:url";
|
||||
const workerwarePath = fileURLToPath(new URL('./workerware/src', import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
env: {
|
||||
|
@ -65,6 +68,11 @@ export default defineConfig({
|
|||
src: `${baremuxPath}/**/*`.replace(/\\/g, "/"),
|
||||
dest: "baremux",
|
||||
overwrite: false
|
||||
},
|
||||
{
|
||||
src: `${workerwarePath}/**/*`.replace(/\\/g, "/"),
|
||||
dest: 'workerware',
|
||||
overwrite: false
|
||||
}
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue