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 modules config #21

Closed
2 tasks
dbashford opened this issue Sep 21, 2013 · 0 comments
Closed
2 tasks

Add modules config #21

dbashford opened this issue Sep 21, 2013 · 0 comments

Comments

@dbashford
Copy link
Owner

As proven out by the work done here and discussed in dbashford/mimosa#274, the following is necessary when using the modules r.js config.

runConfig.dir = "./public/javascripts"
runConfig.keepBuildDir = true
delete runConfig.insertRequire
delete runConfig.include
delete runConfig.out
delete runConfig.name
  • Add a modules config to the optimize config. Add that to the runConfig.
  • When modules exist, perform all the above changes to the runConfig, such that if overrides is called, the object is as the above code would suggest it needs to be.
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