Skip to content

Commit 44c5cc3

Browse files
author
Michael Hladky
committed
refactor: wip
1 parent b7f9b4d commit 44c5cc3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/plugin-coverage/src/lib/nx/coverage-paths.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export async function getCoveragePathForVitest(
136136

137137
const vitestConfig = await importModule<VitestCoverageConfig>({
138138
filepath: config,
139-
format: 'esm',
140139
});
141140

142141
const reportsDirectory =

packages/plugin-lighthouse/src/lib/runner/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export async function getConfig(
134134
// Resolve the config file path relative to where cli was called.
135135
return readJsonFile<Config>(filepath);
136136
} else if (/\.(ts|js|mjs)$/.test(filepath)) {
137-
return importModule<Config>({ filepath, format: 'esm' });
137+
return importModule<Config>({ filepath });
138138
} else {
139139
logger.warn(`Format of file ${filepath} not supported`);
140140
}

0 commit comments

Comments
 (0)