I write a module that use Spin.js with es2015 syntax,
when I babel script to es5 syntax, and load the module by requirejs, then the error will be throw like below:
GET http://localhost:63342/MyProject/test/spin.js 404 (Not Found)
# my entry file is in test dir;
I write a module that use Spin.js with es2015 syntax, when I babel script to es5 syntax, and load the module by requirejs, then the error will be throw like below:
My project dir structure is like below:
this situation is caused by
spin.js
module name; the script after babel process will like below:so,
requirejs
will loadspin.js
as a relative path based on index.htmlWill you fix this bug sooner or later?