@tuya-sat/micro-script 3.0.27-beta.18 → 3.0.27-beta.19
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.
|
@@ -27,7 +27,6 @@ exports.runBundleServer = exports.createServerCompiler = void 0;
|
|
|
27
27
|
const webpack_1 = __importDefault(require("webpack"));
|
|
28
28
|
const webpack_dev_server_1 = __importDefault(require("webpack-dev-server"));
|
|
29
29
|
const ora_1 = __importDefault(require("ora"));
|
|
30
|
-
const chalk_1 = __importDefault(require("chalk"));
|
|
31
30
|
const paths_1 = __importDefault(require("../config/paths"));
|
|
32
31
|
const webpack_config_1 = __importDefault(require("../config/webpack.config"));
|
|
33
32
|
const options_1 = __importDefault(require("./options"));
|
|
@@ -67,11 +66,9 @@ function runBundleServer({ port, compiler, internalDevConfig = {}, }) {
|
|
|
67
66
|
console.log(`compiled time ~${endTime - startTime}ms`);
|
|
68
67
|
});
|
|
69
68
|
//临时提示
|
|
70
|
-
compiler.hooks.done.tap('once-tip', (0, onceFactory_1.onceFactory)(() => {
|
|
71
|
-
console.log(chalk_1.default.yellow(`Tip: 如果HMR失效且保存文件时造成多次compile,请考虑调高aggregateTimeout参数(可以尝试100)`));
|
|
72
|
-
}));
|
|
69
|
+
compiler.hooks.done.tap('once-tip', (0, onceFactory_1.onceFactory)(() => { }));
|
|
73
70
|
yield server.start();
|
|
74
|
-
console.log('
|
|
71
|
+
console.log('The local application server has started');
|
|
75
72
|
});
|
|
76
73
|
}
|
|
77
74
|
exports.runBundleServer = runBundleServer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-script",
|
|
3
|
-
"version": "3.0.27-beta.
|
|
3
|
+
"version": "3.0.27-beta.19",
|
|
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.27-beta.
|
|
27
|
-
"@tuya-sat/micro-dev-proxy": "3.0.27-beta.
|
|
28
|
-
"@tuya-sat/micro-utils": "3.0.27-beta.
|
|
26
|
+
"@tuya-sat/micro-dev-loader": "3.0.27-beta.19",
|
|
27
|
+
"@tuya-sat/micro-dev-proxy": "3.0.27-beta.19",
|
|
28
|
+
"@tuya-sat/micro-utils": "3.0.27-beta.19",
|
|
29
29
|
"@types/kill-port": "^2.0.0",
|
|
30
30
|
"babel-loader": "8.2.4",
|
|
31
31
|
"babel-plugin-import": "1.13.3",
|