mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
remove logs
This commit is contained in:
parent
172623bbcc
commit
92f30994a3
5 changed files with 0 additions and 7 deletions
|
@ -132,7 +132,6 @@ export function chunkIsPage(
|
|||
}
|
||||
|
||||
export async function generatePages(options: StaticBuildOptions, internals: BuildInternals) {
|
||||
console.log('Coucou from generatePages', internals.pageToBundleMap);
|
||||
const generatePagesTimer = performance.now();
|
||||
const ssr = isServerLikeOutput(options.settings.config);
|
||||
let manifest: SSRManifest;
|
||||
|
|
|
@ -184,7 +184,6 @@ class AstroBuilder {
|
|||
green(`✓ Completed in ${getTimeStat(this.timer.init, performance.now())}.`)
|
||||
);
|
||||
|
||||
console.log('Coucou from index.ts build', Object.keys(allPages));
|
||||
const opts: StaticBuildOptions = {
|
||||
allPages,
|
||||
settings: this.settings,
|
||||
|
@ -198,7 +197,6 @@ class AstroBuilder {
|
|||
};
|
||||
|
||||
const { internals, ssrOutputChunkNames } = await viteBuild(opts);
|
||||
console.log('Coucou from index.ts build', internals.pageToBundleMap);
|
||||
await staticBuild(opts, internals, ssrOutputChunkNames);
|
||||
|
||||
// Write any additionally generated assets to disk.
|
||||
|
|
|
@ -151,7 +151,6 @@ export function trackPageData(
|
|||
componentURL: URL
|
||||
): void {
|
||||
pageData.moduleSpecifier = componentModuleId;
|
||||
// SHIT IS HERE
|
||||
internals.pagesByKeys.set(pageData.key, pageData);
|
||||
internals.pagesByViteID.set(viteID(componentURL), pageData);
|
||||
}
|
||||
|
|
|
@ -178,7 +178,6 @@ export class BuildPipeline extends Pipeline {
|
|||
const pages = new Map<PageBuildData, string>();
|
||||
|
||||
for (const [entrypoint, filePath] of this.internals.entrySpecifierToBundleMap) {
|
||||
console.log('entrypoint', filePath);
|
||||
// virtual pages can be emitted with different prefixes:
|
||||
// - the classic way are pages emitted with prefix ASTRO_PAGE_RESOLVED_MODULE_ID -> plugin-pages
|
||||
// - pages emitted using `build.split`, in this case pages are emitted with prefix RESOLVED_SPLIT_MODULE_ID
|
||||
|
|
|
@ -37,7 +37,6 @@ import { encodeName, getTimeStat, viteBuildReturnToRollupOutputs } from './util.
|
|||
|
||||
export async function viteBuild(opts: StaticBuildOptions) {
|
||||
const { allPages, settings } = opts;
|
||||
console.log('Coucou from viteBuild', Object.keys(allPages));
|
||||
// Make sure we have an adapter before building
|
||||
if (isModeServerWithNoAdapter(opts.settings)) {
|
||||
throw new AstroError(AstroErrorData.NoAdapterInstalled);
|
||||
|
@ -126,7 +125,6 @@ export async function viteBuild(opts: StaticBuildOptions) {
|
|||
}
|
||||
}
|
||||
|
||||
console.log('Good bye from viteBuild', internals.pageToBundleMap);
|
||||
return { internals, ssrOutputChunkNames };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue