Skip to content
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

As a new Builder, I want to use RN SDK in an index.html Single Page Application (SPA), inside <script> tags, so I can try it without any framework or dependencies. #1161

Open
MantisClone opened this issue Sep 14, 2023 · 2 comments

Comments

@MantisClone
Copy link
Member

MantisClone commented Sep 14, 2023

Problem

We don't publish the minified JavaScript files *.min.js

Solution

Change package.json main property.
Use exports property instead to define the exports for each supported environment. browser, default

Reference:

https://nodejs.org/api/packages.html#conditional-exports


Migrated from Asana: https://app.asana.com/0/1203912381456855/1205320821557405/f

@MantisClone
Copy link
Member Author

@skiv71 Is this related to #1148 or RequestNetwork/public-issues#2 and if so, how?

@MantisClone
Copy link
Member Author

I believe this task is orthogonal to #1148 and RequestNetwork/public-issues#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✨ Backlog: Enhancements
Development

No branches or pull requests

1 participant