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
Docs: optimizer: mention array form for command line args #369
Comments
This would be helpful. I've been looking for it just now but haven't found it anywhere. For the time being, could you perhaps provide an example here? |
|
I tried that as |
@thrar, loader plugins need to be part of the build, so it sounds like the config you are using is trying to remove them. If you are using a paths config to point to 'empty:' for them, instead, use exclude=cs,text with stubModules=cs,text |
Really? I've been using |
Ah, sorry I misunderstood. The stubModules thing was a bug, tracked here: requirejs/r.js#464 and fixed for 2.1.7. You can try the latest master snapshot to confirm the fix. |
Here:
http://requirejs.org/docs/optimization.html#pitfalls
when showing the command line args, should show one, like include, which is array based, to show how that looks.
The text was updated successfully, but these errors were encountered: