forked from pnp/pnpjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug tests working again, npm serve broken
- Loading branch information
1 parent
2947149
commit 448310a
Showing
4 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
import { createResolve} from "./esm.js"; | ||
import { createResolve } from "./esm.js"; | ||
|
||
export const resolve = createResolve("/build/testing/packages"); | ||
|
||
// export async function getFormat(url: string, context, defaultGetFormat) { | ||
|
||
// // we force node to understand and load the executable mocha as a commonjs module | ||
// if (/bin\/mocha$/i.test(url)) { | ||
// return { | ||
// format: "commonjs", | ||
// }; | ||
// } | ||
|
||
// // Defer to Node.js for all other URLs. | ||
// return defaultGetFormat(url, context, defaultGetFormat); | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters