Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: just-jeb/angular-builders
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f9ab45ea64c3c60b84198e4d65019eec492e7d83
Choose a base ref
..
head repository: just-jeb/angular-builders
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e02da5d8bae6253ac62c6b62b506f1a6efd5b885
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/common/src/load-module.ts
2 changes: 1 addition & 1 deletion packages/common/src/load-module.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import { registerTsProject } from './register-ts-project';
* Loads CJS and ESM modules based on extension
*/
export async function loadModule<T>(modulePath: string, tsConfig: string): Promise<T> {
const absoluteModulePath = url.pathToFileURL(modulePath).toString();
const absoluteModulePath = url.pathToFileURL(modulePath).pathname;

switch (path.extname(modulePath)) {
case '.mjs':