@tuya-sat/micro-script 2.2.4 → 2.2.5

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.
@@ -19,6 +19,7 @@ const mini_css_extract_plugin_1 = __importDefault(require("mini-css-extract-plug
19
19
  const html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
20
20
  const css_minimizer_webpack_plugin_1 = __importDefault(require("css-minimizer-webpack-plugin"));
21
21
  const micro_dev_loader_1 = require("@tuya-sat/micro-dev-loader");
22
+ const micro_utils_1 = require("@tuya-sat/micro-utils");
22
23
  const paths_1 = __importDefault(require("./paths"));
23
24
  function getCommonConfig({ isDev, isBuild, }) {
24
25
  const { name: packageName } = require(paths_1.default.appPkg);
@@ -84,9 +85,7 @@ function getCommonConfig({ isDev, isBuild, }) {
84
85
  options: {
85
86
  lessOptions: Object.assign(Object.assign({}, (process.env.MICRO_THEME
86
87
  ? {
87
- modifyVars: {
88
- "entry-name": "light",
89
- },
88
+ modifyVars: Object.assign(Object.assign({}, micro_utils_1.theme.getAntdOverWriteFile().light), { "entry-name": "light" }),
90
89
  }
91
90
  : {})), { javascriptEnabled: true }),
92
91
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -20,9 +20,9 @@
20
20
  "@babel/preset-react": "7.16.7",
21
21
  "@babel/preset-typescript": "7.16.7",
22
22
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
23
- "@tuya-sat/micro-dev-loader": "2.2.4",
24
- "@tuya-sat/micro-dev-proxy": "2.2.4",
25
- "@tuya-sat/micro-utils": "2.2.4",
23
+ "@tuya-sat/micro-dev-loader": "2.2.5",
24
+ "@tuya-sat/micro-dev-proxy": "2.2.5",
25
+ "@tuya-sat/micro-utils": "2.2.5",
26
26
  "babel-loader": "8.2.4",
27
27
  "babel-plugin-import": "1.13.3",
28
28
  "chalk": "4.1.2",