SvelteViewEngine: fix stores file path
This commit is contained in:
parent
2f2e1f51b8
commit
e188458f9c
@ -295,7 +295,7 @@ export default class SvelteViewEngine extends ViewEngine {
|
||||
});
|
||||
|
||||
// Load locals into locals store
|
||||
const localsModulePath = "../../intermediates/assets/ts/stores.js";
|
||||
const localsModulePath = path.resolve(this.targetDir, "../ts/stores.js");
|
||||
const localsModule = await import(localsModulePath);
|
||||
const locals = this.getGlobals().get();
|
||||
const localMap = this.compileBackendCalls(backendCalls, locals, true);
|
||||
|
Loading…
Reference in New Issue
Block a user