在 stackoverflow 问了问题,还无人问津,哪位大哥有空看一眼呀
https://stackoverflow.com/questions/61506916/rails-6-fails-to-integrate-slick-carousel
https://rossta.net/blog/how-to-customize-webpack-for-rails-apps.html#providing-jquery-as-an-import-to-legacy-plugins-and-exposing-to-global-scope
可以试试上面用到的 expose-loader
弃用 6.0 了哈哈,还是 5.2 香