Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/adapter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ See https://kit.svelte.dev/docs/page-options#prerender for more details`,
processor: (input) => input.replace(regex_input, regex_replace),
});

const HTML_assets = await glob("_app/**/*", {
const HTML_assets = await glob(builder.getAppPath()+"/**/*", {
cwd: pages,
dot: true,
absolute: false,
filesOnly: true,
});

HTML_assets.forEach(async () => {
let regex_input = new RegExp(`([^.])(/_app/immutable)`, "g");
let regex_input = new RegExp(`([^.])(/${builder.getAppPath()}/immutable)`, "g");

await replace.sync({
files: [`${pages}/**/*`],
Expand Down