swico 0.8.1-beta6 → 0.8.1-beta7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "0.8.1-beta6",
3
+ "version": "0.8.1-beta7",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -124,7 +124,7 @@ var restartServer = function () {
124
124
  };
125
125
  function start() {
126
126
  return __awaiter(this, void 0, void 0, function () {
127
- var _a, projectConfig, projectPath, startConfig, compiler, devServer, oriInfo, e_1, strErr;
127
+ var _a, projectConfig, projectPath, startConfig, oriInfo, compiler, devServer, e_1, strErr;
128
128
  return __generator(this, function (_b) {
129
129
  switch (_b.label) {
130
130
  case 0:
@@ -152,13 +152,13 @@ function start() {
152
152
  return [4, (0, webpack_dev_1.default)(projectConfig)];
153
153
  case 6:
154
154
  startConfig = _b.sent();
155
+ oriInfo = console.info;
156
+ console.info = function () { };
155
157
  compiler = (0, webpack_1.default)(startConfig);
156
158
  devServer = new webpack_dev_server_1.default(__assign(__assign({}, startConfig.devServer), { port: availablePort }), compiler);
157
159
  _b.label = 7;
158
160
  case 7:
159
161
  _b.trys.push([7, 9, , 10]);
160
- oriInfo = console.info;
161
- console.info = function () { };
162
162
  return [4, devServer.start()];
163
163
  case 8:
164
164
  _b.sent();