hearsayit / HearsayRequireJSBundle

RequireJS integration for Symfony2.
130 stars 55 forks source link

fix loading of files other than *.js and *.coffee #46

Closed matoilic closed 11 years ago

matoilic commented 11 years ago

Currently you replace all file endings with .js. This breaks the routes for other files like template files loaded with the text plugin for RequireJs which may have a .html ending. Assetic is not able to properly generate routes for those files in development mode. You should only explicitly replace those file extensions that need replacement.