@roots/bud-compiler 2023.8.7-2221 → 2023.8.14-1853

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.
@@ -50,9 +50,7 @@ class Compiler extends Service {
50
50
  }
51
51
  this.instance.hooks.done.tap(bud.label, (stats) => {
52
52
  this.onStats(stats);
53
- bud.hooks.fire(`compiler.done`, bud, this.stats).catch(error => {
54
- throw error;
55
- });
53
+ bud.hooks.fire(`compiler.done`, bud, this.stats).catch(this.onError);
56
54
  });
57
55
  return this.instance;
58
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roots/bud-compiler",
3
- "version": "2023.8.7-2221",
3
+ "version": "2023.8.14-1853",
4
4
  "description": "Compilation handler",
5
5
  "engines": {
6
6
  "node": ">=16"
@@ -65,15 +65,15 @@
65
65
  "types": "./lib/index.d.ts",
66
66
  "module": "./lib/index.js",
67
67
  "devDependencies": {
68
- "@roots/bud-api": "2023.8.7-2221",
68
+ "@roots/bud-api": "2023.8.14-1853",
69
69
  "@skypack/package-check": "0.2.2",
70
70
  "@types/node": "18.16.19",
71
71
  "@types/react": "18.2.15"
72
72
  },
73
73
  "dependencies": {
74
- "@roots/bud-dashboard": "2023.8.7-2221",
75
- "@roots/bud-framework": "2023.8.7-2221",
76
- "@roots/bud-support": "2023.8.7-2221",
74
+ "@roots/bud-dashboard": "2023.8.14-1853",
75
+ "@roots/bud-framework": "2023.8.14-1853",
76
+ "@roots/bud-support": "2023.8.14-1853",
77
77
  "react": "18.2.0",
78
78
  "tslib": "2.6.0"
79
79
  },
@@ -93,9 +93,7 @@ class Compiler extends Service implements BudCompiler {
93
93
 
94
94
  this.instance.hooks.done.tap(bud.label, (stats: any) => {
95
95
  this.onStats(stats)
96
- bud.hooks.fire(`compiler.done`, bud, this.stats).catch(error => {
97
- throw error
98
- })
96
+ bud.hooks.fire(`compiler.done`, bud, this.stats).catch(this.onError)
99
97
  })
100
98
 
101
99
  return this.instance