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

Exposing information about target architeture #10211

Merged
merged 2 commits into from Sep 12, 2018

Conversation

@mariusrak
Copy link
Contributor

@mariusrak mariusrak commented Sep 8, 2018

When creating plugin it can be useful to have accessible info about target architecture of current transpilation. Plugin could therefore alter transformations of code. Based on architecture it would be possible to determine whether result will be run on server or client and therefore hide some critical logic or perform different operations. This allows for more isomorphic code which could be easier to write.

meteor/meteor-feature-requests#326

@benjamn benjamn added this to the Package Patches milestone Sep 10, 2018
@benjamn benjamn merged this pull request into meteor:release-1.7.1 Sep 12, 2018
2 of 5 checks passed
2 of 5 checks passed
ci/circleci: Get Ready CircleCI is running your tests
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
CLA Author has signed the Meteor CLA.
Details
ci/circleci: Docs Your tests passed on CircleCI!
Details
@benjamn
Copy link
Member

@benjamn benjamn commented Sep 12, 2018

Thanks @mariusrak!

benjamn added a commit that referenced this pull request Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants