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

Add a headsup to README about filesystem limitations #21

Open
johnelm opened this issue Apr 18, 2018 · 1 comment
Open

Add a headsup to README about filesystem limitations #21

johnelm opened this issue Apr 18, 2018 · 1 comment

Comments

@johnelm
Copy link
Owner

johnelm commented Apr 18, 2018

  • can't access the file system, and modules that depend on fs access may have issues
  • browserify won't automatically include modules whose requireing is derived at runtime

why:

  • browserify built for browser, which has obvious security constraints
  • OSA has its own sandboxing constraints
    • (need to check on accessing filesystem outside sandbox folder using ObjC)
@johnelm
Copy link
Owner Author

johnelm commented Apr 18, 2018

some good ideas (and browserify alternatives): JXA-Cookbook/JXA-Cookbook#24

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

No branches or pull requests

1 participant