Open 21paradox opened 9 years ago
I'm having this problem with the i18n plugin too: require(['i18n!somefile'], function(){ }); //it tries to require a i18n module -> 404 not found mypath/i18n (istead mypath/somefile)
I write a tool gulp-tmpl2js to convert a.html
to a.html.js
.
so, I can require a.html
as js module without text
plugin.
You can take a try :smiley:
I have a module like below:
after amd-optimize: