@broxium/compiler 1.3.1 → 1.3.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/dist/index.js CHANGED
@@ -137,7 +137,7 @@ export function BrodoxImage({ src, alt, width, height, fill, className, style, p
137
137
  }
138
138
 
139
139
  export function BrodoxLink({ href, children, className, style }) {
140
- return createElement('a', { href, className, style }, children);
140
+ return createElement('a', { href, className, style, 'data-brodox-link': true }, children);
141
141
  }
142
142
 
143
143
  export function useRouter() {
package/dist/index.mjs CHANGED
@@ -108,7 +108,7 @@ export function BrodoxImage({ src, alt, width, height, fill, className, style, p
108
108
  }
109
109
 
110
110
  export function BrodoxLink({ href, children, className, style }) {
111
- return createElement('a', { href, className, style }, children);
111
+ return createElement('a', { href, className, style, 'data-brodox-link': true }, children);
112
112
  }
113
113
 
114
114
  export function useRouter() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@broxium/compiler",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Brodox component compiler — TSX to ESM server + client bundles",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",