Webpacker can't find favicon.ico in ... manifest.json.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Webpacker can't find favicon.ico in ... manifest.json.

fugee ohu
app/javascripts/packs/application.js:
import "favicons"

app/javascripts/packs/favicons.js:
const faviconsContext = require.context(
  ‘!!file-loader?name=../images/favicons/[name].[ext]!.’,
  true,
  /\.(svg|png|ico|xml|json)$/
);faviconsContext.keys().forEach(faviconsContext);


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6ff8f661-c37b-4004-bbab-c50ca9b8dcf3%40googlegroups.com.