Fix function naming

Signed-off-by: David Festal <dfestal@redhat.com>
This commit is contained in:
David Festal
2025-12-15 18:01:54 +01:00
parent ce12decce0
commit 22c5072268
3 changed files with 5 additions and 5 deletions
@@ -28,7 +28,7 @@ import { BuildOptions } from './types';
import { resolveBundlingPaths, resolveOptionalBundlingPaths } from './paths';
import chalk from 'chalk';
import { createDetectedModulesEntryPoint } from './packageDetection';
import { createRuntimeSharedDependeciesEntryPoint } from './moduleFederation';
import { createRuntimeSharedDependenciesEntryPoint } from './moduleFederation';
// TODO(Rugvip): Limits from CRA, we might want to tweak these though.
const WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;
@@ -66,7 +66,7 @@ export async function buildBundle(options: BuildOptions) {
});
const moduleFederationSharedDependenciesEntryPoint =
await createRuntimeSharedDependeciesEntryPoint({
await createRuntimeSharedDependenciesEntryPoint({
targetPath: paths.targetPath,
});
@@ -149,7 +149,7 @@ function resolveSharedDependencyVersions(
);
}
export async function createRuntimeSharedDependeciesEntryPoint(options: {
export async function createRuntimeSharedDependenciesEntryPoint(options: {
targetPath: string;
watch?: () => void;
}): Promise<string[]> {
@@ -28,7 +28,7 @@ import { createConfig, resolveBaseUrl, resolveEndpoint } from './config';
import { createDetectedModulesEntryPoint } from './packageDetection';
import { resolveBundlingPaths, resolveOptionalBundlingPaths } from './paths';
import { ServeOptions } from './types';
import { createRuntimeSharedDependeciesEntryPoint } from './moduleFederation';
import { createRuntimeSharedDependenciesEntryPoint } from './moduleFederation';
export async function serveBundle(options: ServeOptions) {
const paths = resolveBundlingPaths(options);
@@ -124,7 +124,7 @@ DEPRECATION WARNING: React Router Beta is deprecated and support for it will be
});
const moduleFederationSharedDependenciesEntryPoint =
await createRuntimeSharedDependeciesEntryPoint({
await createRuntimeSharedDependenciesEntryPoint({
targetPath: paths.targetPath,
watch() {
triggerReload();