These are chat archives for dry-rb/chat

8th
Sep 2017
Ahmad Musaffa
@musaffa
Sep 08 2017 22:38
How do you manage javascript and css assets in dry-web-roda?
Tim Riley
@timriley
Sep 08 2017 22:39
@musaffa We use 100% webpack to do this. With a little ruby class to read out asset paths from a webpack-generated .yml manifest file or send them directly to a locally running webpack-dev-server
I’d like to release it as a gem at some point but for now you can see https://github.com/icelab/berg/blob/master/system/berg/assets.rb
And https://github.com/icelab/icelab-assets is our webpack-managed assets stack
Ahmad Musaffa
@musaffa
Sep 08 2017 22:48
I tried to setup berg before. Without the private assets the website looks dull and hard to navigate.
Ahmad Musaffa
@musaffa
Sep 08 2017 22:55
I will give it a try again. Thanks.
Tim Riley
@timriley
Sep 08 2017 23:03
@musaffa I’m not suggesting you set up berg here, but rather, take the Assets class and use it in your own app :)
Ahmad Musaffa
@musaffa
Sep 08 2017 23:27
There seem to be a lot of moving parts. I will probably need to see how all of these fit together.
Tim Riley
@timriley
Sep 08 2017 23:41
Fair enough :) Let me know if you have any questions.