gem "GemsAssetsWebpackBridge"
The gem generates a bridge-file with Webpack aliases which you can use to get an access to ruby gem assets. This gem helps to migrate your Rails app from Sprockets to Webpack, in case if you have split already your monolith Rails app into gems and stored assets in these gems and you look for a way how to teach Webpack to use your assets from ruby gems.
Post a comment