Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
W
webpack-training
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shangbj
webpack-training
Commits
269fb472
Commit
269fb472
authored
Jun 09, 2018
by
shangbj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
27f1c0b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
readme.md
readme.md
+11
-1
No files found.
readme.md
View file @
269fb472
...
...
@@ -12,4 +12,14 @@ object|{a:'./app/entrye-a',b:['./app/entryb1','./app/entryb2']}|配置多个入
*
Chunk: 代码块,一个Chunk由多个模块组合而成,用于代码合并和分割。
*
Loader: 模块转换器,用于将模块的原内容按照需求转换成新内容。
*
Plugin: 扩展插件,在Webpack构建流程中的特定时机注入扩展逻辑,来改变构建结果或做我们想要的事情。
*
Output: 输出结果
\ No newline at end of file
*
Output: 输出结果
内置变量列表
变量名|含义
-
| :-
id|Chunk的唯一表识别,从0开始
name|Chunk的名称
hash|Chunk的唯一表识别,Hash值
chunkhash|Chunk内容的Hash值
hash和chunkhash的长度是可以制定的,
[
hash:8
]
代表取8位值,默认是20位
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment