Shouldn't the plugin be looking for something within its src tag?
It happened when I tried to inline a CoffeeScript source with the name animation.coffee, which gets transpiled to animation.js and in development mode, it will get renamed to animation.js?[hash]. Giving the file the async attribute works fine with the following regex: /animation\.*/. What goes wrong here?
Shouldn't the plugin be looking for something within its
srctag?It happened when I tried to inline a CoffeeScript source with the name
animation.coffee, which gets transpiled toanimation.jsand in development mode, it will get renamed toanimation.js?[hash]. Giving the file theasyncattribute works fine with the following regex:/animation\.*/. What goes wrong here?