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

Commit 1d74d57

Browse files
Fixed misspelled function name
1 parent 11d2473 commit 1d74d57

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
@@ -17,7 +17,7 @@ function getEntry() {
1717
fs.copySync(p, 'out/node_modules/' + mod);
1818
}
1919

20-
const list = getDependeciesFromNpm(mod);
20+
const list = getDependenciesFromNpm(mod);
2121
const moduleList = list.filter((value, index, self) => {
2222
return self.indexOf(value) === index && unbundledModule.indexOf(value) === -1 && !/^@types\//.test(value);
2323
});
@@ -29,15 +29,15 @@ function getEntry() {
2929
return entry;
3030
}
3131

32-
function getDependeciesFromNpm(mod) {
32+
function getDependenciesFromNpm(mod) {
3333
let list = [];
3434
const deps = mod.dependencies;
3535
if (!deps) {
3636
return list;
3737
}
3838
for (const m of Object.keys(deps)) {
3939
list.push(m);
40-
list = list.concat(getDependeciesFromNpm(deps[m]));
40+
list = list.concat(getDependenciesFromNpm(deps[m]));
4141
}
4242
return list;
4343
}

0 commit comments

Comments
 (0)