tmp fix
This commit is contained in:
parent
a140fb0ded
commit
e48f3fed4b
1 changed files with 13 additions and 7 deletions
|
@ -50,7 +50,11 @@ export class DevApp extends App {
|
||||||
},
|
},
|
||||||
pageMap: new Map(),
|
pageMap: new Map(),
|
||||||
renderers: [],
|
renderers: [],
|
||||||
entryModules: {},
|
entryModules: new Proxy({}, {
|
||||||
|
get(target, key) {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
}),
|
||||||
assets: new Set(),
|
assets: new Set(),
|
||||||
propagation: new Map(),
|
propagation: new Map(),
|
||||||
trailingSlash: userConfig?.trailingSlash ?? 'ignore'
|
trailingSlash: userConfig?.trailingSlash ?? 'ignore'
|
||||||
|
@ -80,15 +84,17 @@ export class DevApp extends App {
|
||||||
this.#env = null;
|
this.#env = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const params: CreateContainerParams = {
|
||||||
|
...this.#createContainerParams,
|
||||||
|
};
|
||||||
|
|
||||||
|
if(!this.#createContainerParams.userConfig) {
|
||||||
const configResult = await openConfig({
|
const configResult = await openConfig({
|
||||||
cmd: 'dev',
|
cmd: 'dev',
|
||||||
logging,
|
logging,
|
||||||
});
|
});
|
||||||
|
params.settings = createSettings(configResult.astroConfig);
|
||||||
const params: CreateContainerParams = {
|
}
|
||||||
...this.#createContainerParams,
|
|
||||||
settings: createSettings(configResult.astroConfig),
|
|
||||||
};
|
|
||||||
|
|
||||||
const container = this.container = await createContainer(params);
|
const container = this.container = await createContainer(params);
|
||||||
this.#manifest.trailingSlash = container.settings.config.trailingSlash;
|
this.#manifest.trailingSlash = container.settings.config.trailingSlash;
|
||||||
|
|
Loading…
Reference in a new issue