vite-plugin-ember 0.1.0 → 0.1.1

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.
@@ -2,6 +2,9 @@
2
2
  * Vue injection key for providing a default Ember owner to all CodePreview
3
3
  * instances. You typically don't need this directly — use `setupEmber()`
4
4
  * from `vite-plugin-ember/setup` instead.
5
+ *
6
+ * Uses `Symbol.for()` so the key is identical across module boundaries
7
+ * (e.g. dist/ vs src/ paths that Vite may load separately).
5
8
  */
6
9
  export declare const EMBER_OWNER_KEY: unique symbol;
7
10
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vitepress/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,eAAe,eAAwB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/vitepress/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,eAAwC,CAAC"}
@@ -2,6 +2,9 @@
2
2
  * Vue injection key for providing a default Ember owner to all CodePreview
3
3
  * instances. You typically don't need this directly — use `setupEmber()`
4
4
  * from `vite-plugin-ember/setup` instead.
5
+ *
6
+ * Uses `Symbol.for()` so the key is identical across module boundaries
7
+ * (e.g. dist/ vs src/ paths that Vite may load separately).
5
8
  */
6
- export const EMBER_OWNER_KEY = Symbol('ember-owner');
9
+ export const EMBER_OWNER_KEY = Symbol.for('vite-plugin-ember:owner');
7
10
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/vitepress/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/vitepress/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-ember",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Vite plugin for rendering live Ember components in VitePress documentation",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2,5 +2,8 @@
2
2
  * Vue injection key for providing a default Ember owner to all CodePreview
3
3
  * instances. You typically don't need this directly — use `setupEmber()`
4
4
  * from `vite-plugin-ember/setup` instead.
5
+ *
6
+ * Uses `Symbol.for()` so the key is identical across module boundaries
7
+ * (e.g. dist/ vs src/ paths that Vite may load separately).
5
8
  */
6
- export const EMBER_OWNER_KEY = Symbol('ember-owner');
9
+ export const EMBER_OWNER_KEY = Symbol.for('vite-plugin-ember:owner');