class Rails::Webpack::Config

Public Instance Methods

bower_configured?(key) click to toggle source
# File lib/rails/webpack/config.rb, line 10
def bower_configured?(key)
  keys.include?('bower') && bower.keys.include?(key.to_s)
end
npm_configured?(key) click to toggle source
# File lib/rails/webpack/config.rb, line 6
def npm_configured?(key)
  keys.include?('npm') && npm.keys.include?(key.to_s)
end