Commit 269fb472 authored by shangbj's avatar shangbj

update

parent 27f1c0b3
...@@ -13,3 +13,13 @@ object|{a:'./app/entrye-a',b:['./app/entryb1','./app/entryb2']}|配置多个入 ...@@ -13,3 +13,13 @@ object|{a:'./app/entrye-a',b:['./app/entryb1','./app/entryb2']}|配置多个入
* Loader: 模块转换器,用于将模块的原内容按照需求转换成新内容。 * Loader: 模块转换器,用于将模块的原内容按照需求转换成新内容。
* Plugin: 扩展插件,在Webpack构建流程中的特定时机注入扩展逻辑,来改变构建结果或做我们想要的事情。 * Plugin: 扩展插件,在Webpack构建流程中的特定时机注入扩展逻辑,来改变构建结果或做我们想要的事情。
* Output: 输出结果 * Output: 输出结果
内置变量列表
变量名|含义
- | :-
id|Chunk的唯一表识别,从0开始
name|Chunk的名称
hash|Chunk的唯一表识别,Hash值
chunkhash|Chunk内容的Hash值
hash和chunkhash的长度是可以制定的,[hash:8]代表取8位值,默认是20位
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment