Skip to content

Commit

Permalink
webpack-cli 修正
Browse files Browse the repository at this point in the history
  • Loading branch information
leeenx committed Mar 16, 2020
1 parent 5e856ab commit 903f324
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"webpack": "^4.41.2",
"webpack-dev-server": "^3.9.0"
"webpack-dev-server": "^3.9.0",
"webpack-cli": "^3.3.11"
}
}
2 changes: 1 addition & 1 deletion src/script/core/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import timer from '../lib/utils/timer';
import randomList from '../lib/utils/randomList';

// 事件
import Events from '../lib/utils/Events';
import Events from '../lib/utils/events';

// control 类
export default class control {
Expand Down
2 changes: 1 addition & 1 deletion src/script/core/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import randomList from '../lib/utils/randomList';

// 链表类
import Chain from '../lib/utils/chain';
import Chain from '../lib/utils/Chain';

// model 类
export default class model {
Expand Down
2 changes: 1 addition & 1 deletion src/script/core/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import '../lib/utils/getContentBoxSize';
import '../lib/utils/noHello';

// 链表类
import Chain from '../lib/utils/chain';
import Chain from '../lib/utils/Chain';


// view 类
Expand Down
2 changes: 1 addition & 1 deletion src/script/snake.es6
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// 向前兼容
import 'babel-polyfill';
import '@babel/polyfill';

// model
import SnakeModel from './core/model';
Expand Down

0 comments on commit 903f324

Please sign in to comment.