-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
R.js - Path must be a string #231
Comments
I have the exact same issue |
I had the same issue using node v6.10.2 on macOS Sierra v10.12.3. |
Wish I knew why downgrading worked... |
It's ultimately breaking on this line (https://github.com/guybedford/require-css/blob/master/css-builder.js#L130).
This seems to be happening inside the actual It's possible that the behavior of Related: jorrit/gulp-requirejs#29 |
Resolves: guybedford#231, guybedford#229 With new Rjs, `out` can be a function (https://github.com/requirejs/r.js/blob/master/build/example.build.js#L448). Need to support dealing with `out` as being a function. In this case, simply checking if the property is a string, and if not, `toString`-ing it will allow the `siteRoot` to be determined correctly.
When optimising the css with r.js i'm getting the following error below?
sample module --
exampe config
Error
The text was updated successfully, but these errors were encountered: