@tuya-sat/micro-script 3.3.3 → 3.3.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.
@@ -105,7 +105,7 @@ function getCommonConfig({ isDev, isBuild, port, }) {
105
105
  const baseConfig = {
106
106
  mode: isBuild ? 'production' : 'development',
107
107
  output: {
108
- publicPath: isDev && isMainApp && port ? `http://0.0.0.0/${port}/` : undefined,
108
+ publicPath: isDev && isMainApp && port ? `http://0.0.0.0:${port}/` : undefined,
109
109
  filename: isBuild
110
110
  ? 'static/js/[name].[contenthash:8].js'
111
111
  : 'static/js/[name].bundle.js',
@@ -226,6 +226,7 @@ function getCommonConfig({ isDev, isBuild, port, }) {
226
226
  to() {
227
227
  return 'static/img/[name][ext]';
228
228
  },
229
+ noErrorOnMissing: true,
229
230
  },
230
231
  ].filter((value) => Boolean(value)),
231
232
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
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.3.3",
27
- "@tuya-sat/micro-dev-proxy": "3.3.3",
28
- "@tuya-sat/micro-utils": "3.3.3",
26
+ "@tuya-sat/micro-dev-loader": "3.3.5",
27
+ "@tuya-sat/micro-dev-proxy": "3.3.5",
28
+ "@tuya-sat/micro-utils": "3.3.5",
29
29
  "@types/kill-port": "^2.0.0",
30
30
  "babel-loader": "8.2.4",
31
31
  "babel-plugin-import": "1.13.3",