@itera-web/cli 1.1.60 → 1.1.62

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.
@@ -83,7 +83,6 @@ module.exports = {
83
83
  }),
84
84
  new webpackbar_1.default({ reporters: ['profile'], profile: true }),
85
85
  new node_polyfill_webpack_plugin_1.default(),
86
- isProd() && new sortSrciptTag_js_1.default(),
87
86
  ],
88
87
  stats: {
89
88
  assets: true,
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  var cheerio_1 = __importDefault(require("cheerio"));
7
7
  var webpack_1 = require("webpack");
8
+ var log_1 = require("../public/log");
8
9
  var SortScriptTagPlugin = (function () {
9
10
  function SortScriptTagPlugin() {
10
11
  }
@@ -14,6 +15,7 @@ var SortScriptTagPlugin = (function () {
14
15
  name: 'SortScriptTagPlugin',
15
16
  stage: webpack_1.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,
16
17
  }, function (assets) {
18
+ log_1.Console.cyan('开始排序引用');
17
19
  var htmlName = 'index.html';
18
20
  var asset = compilation.getAsset(htmlName);
19
21
  if (!asset)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itera-web/cli",
3
- "version": "1.1.60",
3
+ "version": "1.1.62",
4
4
  "bin": {
5
5
  "itera-cli": "./bin/index.js"
6
6
  },