I've just upgraded to the latest version of typescript-rails, and now I get the following error:
Sprockets::Rails::Helper::AssetNotPrecompiled at /
Asset was not declared to be precompiled in production.
Add Rails.application.config.assets.precompile += %w( dashboard.js ) to config/initializers/assets.rb and restart your server
It works if I specify dashboard.jsdirectly in assets.rb (the file is actually dashboard.ts).
But normally wildcards work fine:
Rails.application.config.assets.precompile += %w(lib/*.js *.js)
I've tried variations with .ts instead of .js.
Did one of the commits break wildcard support?
I've just upgraded to the latest version of typescript-rails, and now I get the following error:
It works if I specify
dashboard.jsdirectly inassets.rb(the file is actuallydashboard.ts).But normally wildcards work fine:
I've tried variations with
.tsinstead of.js.Did one of the commits break wildcard support?