@growth-labs/seo 0.2.3 → 0.2.4
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/package.json
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
// Required so `getConfig()` works in the Cloudflare prerender Worker.
|
|
4
4
|
import 'virtual:growth-labs/seo/config'
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
// Use package self-imports (not relative ../options.js / ../state.js) because
|
|
7
|
+
// this component ships as source from src/components/ but options.ts and state.ts
|
|
8
|
+
// compile to dist/. Relative `../options.js` would resolve to the non-existent
|
|
9
|
+
// src/options.js inside the consumer's node_modules. Package specifiers route
|
|
10
|
+
// through the exports map to the compiled dist output.
|
|
11
|
+
import { getConfig, resolveAeoTwins } from '@growth-labs/seo'
|
|
8
12
|
|
|
9
13
|
export interface Props {
|
|
10
14
|
/**
|