swico 1.3.0 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -106,9 +106,7 @@ var handleWatch = function (projectPath, devServer, env) {
106
106
  var replaceIndexText, _a;
107
107
  return __generator(this, function (_b) {
108
108
  switch (_b.label) {
109
- case 0:
110
- console.log('eventName', eventName, filePath);
111
- return [4, fs_extra_1.default.readFile(path_1.default.resolve(projectPath, "./src/.swico".concat(envPath, "index.js")), 'utf8')];
109
+ case 0: return [4, fs_extra_1.default.readFile(path_1.default.resolve(projectPath, "./src/.swico".concat(envPath, "index.js")), 'utf8')];
112
110
  case 1:
113
111
  replaceIndexText = _b.sent();
114
112
  if (!['add', 'unlink'].includes(eventName)) return [3, 9];
@@ -251,7 +249,6 @@ function start() {
251
249
  case 9:
252
250
  e_1 = _h.sent();
253
251
  strErr_1 = e_1.toString();
254
- console.log('2', strErr_1);
255
252
  if (!filterStyleFileList.find(function (item) { return strErr_1.includes(item); })) {
256
253
  tools_1.toast.error(strErr_1);
257
254
  }