@genesislcap/webpack-builder 14.64.2-alpha-e2416b2.0 → 14.64.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,KAAK,aAAoB,QAAQ,kBAoB7C,CAAC"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,KAAK,aAAoB,QAAQ,kBAqB7C,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.build = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const consola_1 = tslib_1.__importDefault(require("consola"));
5
6
  const build = (compiler) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
6
7
  const stats = yield new Promise((success, error) => {
7
8
  compiler.run((err, result) => (err ? error(err) : success(result)));
@@ -9,6 +10,7 @@ const build = (compiler) => tslib_1.__awaiter(void 0, void 0, void 0, function*
9
10
  if (stats.hasErrors()) {
10
11
  const error = new Error('Build error');
11
12
  error.stack = stats.toString('errors-only');
13
+ consola_1.default.error(error.stack);
12
14
  throw error;
13
15
  }
14
16
  process.stdout.write(stats.toString({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/webpack-builder",
3
3
  "description": "Webpack builder",
4
- "version": "14.64.2-alpha-e2416b2.0",
4
+ "version": "14.64.3",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  "dev": "tsc -b ./tsconfig.json -w"
13
13
  },
14
14
  "dependencies": {
15
- "@genesislcap/build-kit": "14.64.2-alpha-e2416b2.0",
15
+ "@genesislcap/build-kit": "14.64.3",
16
16
  "@module-federation/dashboard-plugin": "2.6.5",
17
17
  "@pixability-ui/federated-types": "^0.2.0",
18
18
  "camel-case": "^4.1.2",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "77135ee3fe868761ec43bf79fd65c478cdafe851"
57
+ "gitHead": "7de5fa539938ec53549485836dc16288c78607a8"
58
58
  }
@@ -1,3 +1,4 @@
1
+ import consola from 'consola';
1
2
  import webpack from 'webpack';
2
3
  import type { Compiler } from 'webpack';
3
4
 
@@ -9,6 +10,7 @@ export const build = async (compiler: Compiler) => {
9
10
  if (stats.hasErrors()) {
10
11
  const error = new Error('Build error');
11
12
  error.stack = stats.toString('errors-only');
13
+ consola.error(error.stack);
12
14
  throw error;
13
15
  }
14
16