@tuya-sat/micro-script 2.2.30 → 2.3.1

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.
@@ -162,7 +162,7 @@ function getCommonConfig({ isDev, isBuild, }) {
162
162
  patterns: [
163
163
  {
164
164
  from: paths_1.default.publicDir,
165
- filter: (resourcePath) => __awaiter(this, void 0, void 0, function* () { return !resourcePath.includes(".html"); }),
165
+ filter: (resourcePath) => __awaiter(this, void 0, void 0, function* () { return resourcePath !== paths_1.default.spaHtml; }),
166
166
  noErrorOnMissing: true,
167
167
  },
168
168
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "2.2.30",
3
+ "version": "2.3.1",
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.30",
24
- "@tuya-sat/micro-dev-proxy": "2.2.30",
25
- "@tuya-sat/micro-utils": "2.2.30",
23
+ "@tuya-sat/micro-dev-loader": "2.3.1",
24
+ "@tuya-sat/micro-dev-proxy": "2.3.1",
25
+ "@tuya-sat/micro-utils": "2.3.1",
26
26
  "babel-loader": "8.2.4",
27
27
  "babel-plugin-import": "1.13.3",
28
28
  "chalk": "4.1.2",