来源:https://stackoverflow.com/questions/63328755/how-do-i-make-a-javascript-function-available-globally-in-rails-6-with-webpack 标签 javascript ruby-on-rails Webpack ruby-on-rails-6 webpacker