-
Notifications
You must be signed in to change notification settings - Fork 1
fix: Reduce Rokt Kit Bundle Size #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Reduce Rokt Kit Bundle Size #7
Conversation
package.json
Outdated
| "name": "@mparticle/web-rokt-wsdk-kit", | ||
| "version": "0.0.2", | ||
| "main": "dist/RoktWsdk-Kit.common.js", | ||
| "description": "mParticle integration sdk for Rokt", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "description": "mParticle integration sdk for Rokt", | |
| "description": "mParticle integration kit for Rokt", |
package.json
Outdated
| "main": "dist/Rokt-Kit.common.js", | ||
| "files": [ | ||
| "dist/RoktWsdk-Kit.common.js" | ||
| "dist/Rokt-Kit.common.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "dist/Rokt-Kit.common.js" | |
| "dist/Rokt-Kit.common.js", | |
| "dist/Rokt-Kit.iife.js" |
package.json
Outdated
| @@ -1,26 +1,25 @@ | |||
| { | |||
| "name": "@mparticle/web-rokt-wsdk-kit", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd proposing dropping the wsdk, as this aligns with our other kits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/Rokt-Kit.js
Outdated
| } | ||
|
|
||
| function register(config) { | ||
| var forwarderNameWithSuffix = [name, suffix].join('-'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd get rid of any information regarding suffix since suffix doesn't exist. braze is in a special category. you can pull code in this register section from anther pre-integration builder that doesn't have suffix, like amplitude
rmi22186
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some fairly simple comments
Co-authored-by: Robert Ing <[email protected]>

Summary
Testing Plan