@rollipop/core 0.1.0-alpha.1 → 0.1.0-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @rollipop/core
2
2
 
3
+ ## 0.1.0-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e8d32a7: improve `configureServer` hook
8
+ - 8118bc3: bind plugin context to rollipop custom hooks
9
+ - 5cee54c: supports custom HMR handler
10
+ - 4768f8f: add `configureServer`
11
+ - Updated dependencies [8118bc3]
12
+ - @rollipop/common@0.1.0-alpha.2
13
+
3
14
  ## 0.1.0-alpha.1
4
15
 
5
16
  ### Patch Changes
@@ -2,6 +2,7 @@ import { createRequire } from "node:module";
2
2
 
3
3
  //#region rolldown:runtime
4
4
  var __defProp = Object.defineProperty;
5
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
5
6
  var __export = (all, symbols) => {
6
7
  let target = {};
7
8
  for (var name in all) {
@@ -18,4 +19,4 @@ var __export = (all, symbols) => {
18
19
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
19
20
 
20
21
  //#endregion
21
- export { __require as n, __export as t };
22
+ export { __export as n, __require as r, __commonJSMin as t };
@@ -195,6 +195,9 @@ var HMRClient = class HMRClient {
195
195
  this.compileErrorMessage = data.payload.message;
196
196
  this.showCompileErrorIfNeeded();
197
197
  break;
198
+ default:
199
+ __ROLLIPOP_GLOBAL__.__ROLLIPOP_CUSTOM_HMR_HANDLER__?.(data);
200
+ break;
198
201
  }
199
202
  }
200
203
  handleClose(event) {