@tuya-sat/micro-script 3.0.12 → 3.0.13

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.
@@ -21,6 +21,7 @@ const mini_css_extract_plugin_1 = __importDefault(require("mini-css-extract-plug
21
21
  const html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
22
22
  const css_minimizer_webpack_plugin_1 = __importDefault(require("css-minimizer-webpack-plugin"));
23
23
  const webpack_manifest_plugin_1 = require("webpack-manifest-plugin");
24
+ const webpack_stats_plugin_1 = require("webpack-stats-plugin");
24
25
  const micro_dev_loader_1 = require("@tuya-sat/micro-dev-loader");
25
26
  const path_1 = __importDefault(require("path"));
26
27
  const index_1 = require("@tuya-sat/micro-dev-loader/dist/less/utils/index");
@@ -204,6 +205,7 @@ function getCommonConfig({ isDev, isBuild, }) {
204
205
  }),
205
206
  isBuild && enableThemeCompile && new micro_dev_loader_1.ThemePlugin(),
206
207
  isBuild && new webpack_manifest_plugin_1.WebpackManifestPlugin({}),
208
+ isBuild && new webpack_stats_plugin_1.StatsWriterPlugin({}),
207
209
  ].filter((value) => Boolean(value)),
208
210
  };
209
211
  return baseConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.0.12",
3
+ "version": "3.0.13",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -23,9 +23,9 @@
23
23
  "@babel/preset-typescript": "7.16.7",
24
24
  "@babel/traverse": "^7.20.13",
25
25
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
26
- "@tuya-sat/micro-dev-loader": "3.0.12",
27
- "@tuya-sat/micro-dev-proxy": "3.0.12",
28
- "@tuya-sat/micro-utils": "3.0.12",
26
+ "@tuya-sat/micro-dev-loader": "3.0.13",
27
+ "@tuya-sat/micro-dev-proxy": "3.0.13",
28
+ "@tuya-sat/micro-utils": "3.0.13",
29
29
  "@types/kill-port": "^2.0.0",
30
30
  "babel-loader": "8.2.4",
31
31
  "babel-plugin-import": "1.13.3",
@@ -74,10 +74,12 @@
74
74
  "@types/express": "4.17.13",
75
75
  "@types/jest": "27.4.1",
76
76
  "@types/uuid": "8.3.4",
77
+ "@types/webpack-stats-plugin": "^0.3.2",
77
78
  "jest": "27.5.1",
78
79
  "terser-webpack-plugin": "^5.3.6",
79
80
  "ts-jest": "27.1.3",
80
- "typescript": "4.6.2"
81
+ "typescript": "4.6.2",
82
+ "webpack-stats-plugin": "^1.1.1"
81
83
  },
82
84
  "keywords": [
83
85
  "saturn-project",