You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and use the module name as I've noticed that.
When I load in the optimised module.js
a call to load ./myFile' is still made instead of using the named module that is available in the module.js ie 'blah/myFile'
if I manually update the optimised module.js from './myFile' to 'blah/myFile' ie -
I have 2 files that make up my module CoreFile.js that loads in myFile.js as below
CoreFile.js
myFile.js
When I optimise the module with r.js lets call the output module.js it is converted like this and brings the 2 files into 1.. perfect -
optimised to module.js
module.js
However shouldn't the CoreFile.js generate and update the myFile path to the module name like this -- 'blah/myFile' instead of './myFile'?
This is how I am expecting the module to generate -
and use the module name as I've noticed that.
When I load in the optimised module.js
a call to load ./myFile' is still made instead of using the named module that is available in the module.js ie 'blah/myFile'
if I manually update the optimised module.js from './myFile' to 'blah/myFile' ie -
then it works as intended... and there isn't a call to load in the file that has been pulled into the module..
Thanks
The text was updated successfully, but these errors were encountered: