2024-04-24 21:30:01 +00:00
|
|
|
import BrowserSync from "browser-sync";
|
2024-06-20 16:48:57 +00:00
|
|
|
import path from "path/posix";
|
2024-04-24 21:30:01 +00:00
|
|
|
|
|
|
|
|
export const baseDir = path.resolve("..");
|
|
|
|
|
export const buildFolder = path.join(baseDir, "build");
|
|
|
|
|
export const buildOutputFolder = path.join(baseDir, "build_output");
|
2025-06-19 01:51:34 +00:00
|
|
|
export const generatedCodeFolder = path.join(baseDir, "src/js/built-temp");
|
2024-04-24 21:30:01 +00:00
|
|
|
|
|
|
|
|
// Globs for atlas resources
|
|
|
|
|
export const rawImageResourcesGlobs = ["../res_raw/atlas.json", "../res_raw/**/*.png"];
|
|
|
|
|
|
|
|
|
|
// Globs for non-ui resources
|
|
|
|
|
export const nonImageResourcesGlobs = ["../res/**/*.woff2", "../res/*.ico", "../res/**/*.webm"];
|
|
|
|
|
|
|
|
|
|
// Globs for ui resources
|
|
|
|
|
export const imageResourcesGlobs = [
|
|
|
|
|
"../res/**/*.png",
|
|
|
|
|
"../res/**/*.svg",
|
|
|
|
|
"../res/**/*.jpg",
|
|
|
|
|
"../res/**/*.gif",
|
|
|
|
|
];
|
|
|
|
|
|
2024-04-25 02:19:31 +00:00
|
|
|
export const browserSync = BrowserSync.create();
|