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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -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: true, // 当传递true或body时,所有javascript资源都将放置在body元素的底部。
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'