@nx/rollup 19.0.0 → 19.0.2

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": "@nx/rollup",
3
- "version": "19.0.0",
3
+ "version": "19.0.2",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Rollup contains executors and generators that support building applications using Rollup.",
6
6
  "repository": {
@@ -43,9 +43,9 @@
43
43
  "rollup-plugin-postcss": "^4.0.2",
44
44
  "rollup-plugin-typescript2": "^0.36.0",
45
45
  "tslib": "^2.3.0",
46
- "@nx/devkit": "19.0.0",
47
- "@nx/js": "19.0.0",
48
- "@nrwl/rollup": "19.0.0"
46
+ "@nx/devkit": "19.0.2",
47
+ "@nx/js": "19.0.2",
48
+ "@nrwl/rollup": "19.0.2"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
@@ -90,9 +90,11 @@ async function* rollupExecutor(rawOptions, context) {
90
90
  }
91
91
  catch (e) {
92
92
  if (e.formatted) {
93
- // Formattted message is provided by Rollup and contains codeframes for where the error occurred.
94
93
  devkit_1.logger.info(e.formatted);
95
94
  }
95
+ else if (e.message) {
96
+ devkit_1.logger.info(e.message);
97
+ }
96
98
  devkit_1.logger.error(e);
97
99
  devkit_1.logger.error(`Bundle failed: ${context.projectName}`);
98
100
  return { success: false };