Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit ddb804f

Browse files
elektronikworkshopadiazulay
authored andcommitted
Fixed misspelled function name
1 parent d6459d0 commit ddb804f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webpack.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function getEntry() {
1919
fs.copySync(p, 'out/node_modules/' + mod);
2020
}
2121

22-
const list = getDependeciesFromNpm(mod);
22+
const list = getDependenciesFromNpm(mod);
2323
const moduleList = list.filter((value, index, self) => {
2424
return self.indexOf(value) === index && unbundledModule.indexOf(value) === -1 && !/^@types\//.test(value);
2525
});
@@ -31,15 +31,15 @@ function getEntry() {
3131
return entry;
3232
}
3333

34-
function getDependeciesFromNpm(mod) {
34+
function getDependenciesFromNpm(mod) {
3535
let list = [];
3636
const deps = mod.dependencies;
3737
if (!deps) {
3838
return list;
3939
}
4040
for (const m of Object.keys(deps)) {
4141
list.push(m);
42-
list = list.concat(getDependeciesFromNpm(deps[m]));
42+
list = list.concat(getDependenciesFromNpm(deps[m]));
4343
}
4444
return list;
4545
}

0 commit comments

Comments
 (0)