-
Notifications
You must be signed in to change notification settings - Fork 29
Example of configFile import #54
Comments
There is no support for remote scripts yet. That's why it can't find jquery at runtime. |
Thanks for the quick reply @normanrz so if I wanted to load a path relatively it seems the inline configs vs an external configFile are different? It seems to work if I inline the configs but I don't think that would be very DRY if I wanted to create a task for each page in my app. :-) Loading inline this works.
If I drop that in a config file I get the previous error mentioned. Error: No file for module 'jquery' found. Seems the module.exports.loader is getting the wrong path when using the config file. It's as if it ignores the paths setup and just looks in the basePath. I'm still trying to track down the original code that sets that and I could possible submit a patch if you don't figure it out first. :-p |
I was able to work around the configFile issue for now by moving the paths to be inline with the gulp task before loading the configFile. Current setup
amd.json file
|
I'm not sure what I'm doing wrong as the documentation doesn't actually show a good example of using a config file. When running the following
I get the following error. :'(
Here is my amd.json file.
Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: