akfun 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@ module.exports = function (entryConfig, curDefaultHtmlTemplate) {
|
|
|
24
24
|
filename: `${filename}.html`,
|
|
25
25
|
template: curPageTemplate,
|
|
26
26
|
chunks: ['vendor', 'common', filename],
|
|
27
|
-
inject:
|
|
27
|
+
inject: 'body', // 当传递true或body时,所有javascript资源都将放置在body元素的底部。
|
|
28
28
|
minify: false, // mode: 'production'模式下会自定压缩html代码,优先级比minify高
|
|
29
29
|
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
|
|
30
30
|
chunksSortMode: 'auto'
|