@merkur/integration-custom-element 0.36.1 → 0.36.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.
Files changed (2) hide show
  1. package/cli/index.mjs +9 -0
  2. package/package.json +2 -2
package/cli/index.mjs CHANGED
@@ -34,6 +34,15 @@ export default function ({ emitter, EMITTER_EVENTS }) {
34
34
  },
35
35
  );
36
36
 
37
+ emitter.on(
38
+ EMITTER_EVENTS.MERKUR_CONFIG,
39
+ function turnOffHMR({ merkurConfig }) {
40
+ merkurConfig.HMR = false;
41
+
42
+ return merkurConfig;
43
+ },
44
+ );
45
+
37
46
  emitter.on(EMITTER_EVENTS.CLI_CONFIG, function removeNodeTask({ cliConfig }) {
38
47
  if (cliConfig.runTask.length === 0) {
39
48
  cliConfig.runTask = ['es13', 'es9'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkur/integration-custom-element",
3
- "version": "0.36.1",
3
+ "version": "0.36.2",
4
4
  "description": "Merkur module for easy integration with other apps with custom element.",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",
@@ -57,5 +57,5 @@
57
57
  "@merkur/core": "*",
58
58
  "@merkur/integration": "*"
59
59
  },
60
- "gitHead": "aa04d6baa119e2d57a231b69e641aaaa918cf942"
60
+ "gitHead": "e12bdfa8ff7e8f927edd757d051a90ddf9a95b01"
61
61
  }