update
This commit is contained in:
parent
b7315af8b6
commit
58da57890a
11
webpack.md
11
webpack.md
@ -93,4 +93,13 @@ module.exports = {
|
||||
```
|
||||
|
||||
## 入口起点
|
||||
> 在webpack中有多种
|
||||
> 在webpack中有多种定义entry的方法
|
||||
### 单个入口起点
|
||||
config
|
||||
```
|
||||
const config = {
|
||||
entry: './path/to/my/entry/file.js'
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user