-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add better npm import, and script entrypoint for customizations (…
…#1550) * Add better npm import, and script entrypoint for customizations * Revert move to /lib rather than /lib/src
- Loading branch information
Showing
4 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './setAllPersonProfilePropertiesAsPersonPropertiesForFlags' | ||
export * from './before-send' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// this file is called customizations.full.ts because it includes all customizations | ||
// this naming scheme allows us to create a lighter version in the future with only the most popular customizations | ||
// without breaking backwards compatibility | ||
|
||
import * as customizations from '../customizations' | ||
import { assignableWindow } from '../utils/globals' | ||
assignableWindow.posthogCustomizations = customizations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters