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
3714dd40
Commit
3714dd40
authored
Jun 09, 2018
by
shangbj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
82f9cd51
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 @
3714dd40
...
...
@@ -23,4 +23,14 @@ name|Chunk的名称
hash|Chunk的唯一表识别,Hash值
chunkhash|Chunk内容的Hash值
hash和chunkhash的长度是可以制定的,
[
hash:8
]
代表取8位值,默认是20位
\ No newline at end of file
hash和chunkhash的长度是可以制定的,
[
hash:8
]
代表取8位值,默认是20位
--------------------------
### 通常我们可用如下经验去判断如何配置webpack
*
若想让源文件加入构建流程中被Webpack控制,则配置 entry
*
若想自定义输出文件的位置和名称,则配置output
*
若想自定义寻找依赖模块时的策略,则配置resolve
*
若想自定义解析和转换文件的策略,则配置module,通常是配置module.rules里的Loader
*
若其他大部分需求可能通过Plugin去实现,则配置plugin
\ 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