Skip to content

Allow injecting variables into requirejs-config sandbox #2

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

Merged
merged 2 commits into from
Jun 8, 2017

Conversation

toddbc
Copy link
Contributor

@toddbc toddbc commented Jun 8, 2017

This adds a configuration option to inject parameters into the sandbox, in case the requirejs-config.js file refers to external variables.

It also fixes some error handling that made this issue harder to discover in some node.js versions.

Alternative to #1.

toddbc added 2 commits June 8, 2017 11:36
If something goes wrong running the requirejs-config file, we would
previously just crash with an unhandled promise rejection.

Now we properly surface the error.
This is handled via config setting.
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.

2 participants