We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb73437 commit cd110c1Copy full SHA for cd110c1
packages/cli/template/package.json
@@ -44,7 +44,5 @@
44
"webpack-cli": "^3.1.0",
45
"webpack-dev-server": "^3.1.5"
46
},
47
- "dependencies": {
48
- "lodash": "^4.17.4"
49
- }
+ "dependencies": {}
50
}
packages/cli/template/src/MyLibrary.ts
@@ -1,12 +1,10 @@
1
-import { random } from 'lodash';
2
-
3
export interface Foo {
4
executeDependency: Function;
5
6
7
export class MyLibrary implements Foo {
8
executeDependency() {
9
- return random(0, 10);
+ return Math.floor(Math.random() * 10 + 1);
10
11
12
0 commit comments