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

fix(module-loader-commonjs): avoid using fs to require commonjs module #533

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

unstubbable
Copy link
Member

fixes #503

Copy link
Member

@fahrradflucht fahrradflucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from an implementation perspective but I have one conceptual question: Since this removes the cache, how does that pair with the "one FeatureHub per request" approach that we took for the service factories? Or was our performance concern deemed to be premature optimization?

@unstubbable
Copy link
Member Author

@fahrradflucht There was no cache before. The file was always fetched and newly written into tmp.

@unstubbable unstubbable merged commit 5be4e18 into master Jul 30, 2019
@unstubbable unstubbable deleted the fix-commonjs-loader branch July 30, 2019 06:35
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

Successfully merging this pull request may close these issues.

module-loader-commonjs prevents running on read only filesystem
2 participants