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

JSON files unsupported as mainConfigFile #752

Open
bregenspan opened this issue Dec 6, 2014 · 0 comments
Open

JSON files unsupported as mainConfigFile #752

bregenspan opened this issue Dec 6, 2014 · 0 comments

Comments

@bregenspan
Copy link

The error emitted when a mainConfigFile cannot be parsed implies support for JSON config files:

The config in mainConfigFile [path to file] cannot be used because it cannot be evaluated correctly while running in the optimizer. Try only using a config that is also valid JSON.

However, the config file must actually be valid JS that includes the JSON as a an object that is passed to requirejs.config() or similar, and not actually raw JSON. Is support for raw JSON something that would be considered for inclusion (if so, I'll submit a PR)?

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