Skip to content

Commit

Permalink
add compiler option in http to add type jest
Browse files Browse the repository at this point in the history
  • Loading branch information
smouillour committed Oct 12, 2023
1 parent bb9e680 commit e5d894a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion fork/dynamic-cdn-webpack-plugin/src/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ function findPackagesFromNonScopeFolder(scope, name, nonScopeFolderPath) {
}

function findPackages(scope, name, buff = []) {
console.log('findPackages', scope, name, buff);
// https://nodejs.org/dist/latest-v14.x/docs/api/modules.html#modules_require_resolve_paths_request
const roots = require.resolve.paths(name).filter(p => fs.existsSync(p));
if (roots === null) {
Expand Down
3 changes: 2 additions & 1 deletion packages/http/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"allowJs": false,
"declaration": true,
"target": "ES5",
"module": "CommonJs"
"module": "CommonJs",
"types": ["jest"]
}
}

0 comments on commit e5d894a

Please sign in to comment.