swico 0.8.3-beta1 → 0.8.3-beta2

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.3-beta1",
3
+ "version": "0.8.3-beta2",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -65,6 +65,7 @@ var config_1 = require("../utils/config");
65
65
  var html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
66
66
  var fork_ts_checker_webpack_plugin_1 = __importDefault(require("fork-ts-checker-webpack-plugin"));
67
67
  var webpack_1 = __importDefault(require("webpack"));
68
+ var tools_1 = require("../utils/tools");
68
69
  function default_1(_a) {
69
70
  var _b, _c, _d;
70
71
  var projectPath = _a.projectPath, entryPath = _a.entryPath, env = _a.env, customConfig = _a.customConfig;
@@ -260,6 +261,12 @@ function default_1(_a) {
260
261
  hash: true
261
262
  }),
262
263
  new fork_ts_checker_webpack_plugin_1.default({
264
+ logger: {
265
+ log: function () { },
266
+ error: function (message) {
267
+ tools_1.toast.error(message);
268
+ }
269
+ },
263
270
  typescript: {
264
271
  diagnosticOptions: {
265
272
  semantic: true,