r.js
automatically inlines contents of @import url(...) links in all .css
files found in the project directory (thus concatenating multiple files into one master stylesheet).
In your current build configuration, however, with only baseUrl
specified, r.js
doesn't even know about the CSS folder (which is, presumably, somewhere in ../../style/
relative to js/plugin/
).
You'd have to add the appDir
and dir
properties to your buildconfig file (both explained in detail in the example config file) and set project root (ie. appDir
) to directory that contains both JS and CSS folders.
Please note that, as mentioned in the documentation, adding appDir
will require changing value of baseUrl
to be relative to appDir
.