Skip to content

Commit

Permalink
post rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Mar 12, 2022
1 parent 59d3fa2 commit f4b01cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/lib/walker-package-ranger.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function getPackageEntryPath(packageJson) {
return entry;
}

async function walkModule(module, dependency) {
async function walkModule(modulePath, dependency) {
const moduleContents = fs.readFileSync(modulePath, 'utf-8');

walk.simple(acorn.parse(moduleContents, {
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/plugins/resource/plugin-node-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { getNodeModulesLocationForPackage, getPackageNameFromUrl } from '../../l
import { ResourceInterface } from '../../lib/resource-interface.js';
import { walkPackageJson } from '../../lib/walker-package-ranger.js';

let importMap;

class NodeModulesResource extends ResourceInterface {
constructor(compilation, options) {
super(compilation, options);
Expand Down

0 comments on commit f4b01cb

Please sign in to comment.