Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions src/utils/logUtils.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/utils/normalizeModuleFederationOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export type RemoteEntryType =

import * as fs from 'fs';
import * as path from 'pathe';
import { warn } from './logUtils';

interface ExposesItem {
import: string;
Expand Down Expand Up @@ -403,12 +402,6 @@ export function getNormalizeShareItem(key: string) {
export function normalizeModuleFederationOptions(
options: ModuleFederationOptions
): NormalizedModuleFederationOptions {
if (options.getPublicPath) {
warn(
`We are ignoring the getPublicPath options because they are natively supported by Vite\nwith the "experimental.renderBuiltUrl" configuration https://vitejs.dev/guide/build#advanced-base-options`
);
}

if (options.virtualModuleDir && options.virtualModuleDir.includes('/')) {
throw new Error(
`Invalid virtualModuleDir: "${options.virtualModuleDir}". ` +
Expand Down