module ReactOnRails::Generators::JsDependencyManager
def add_css_dependencies
def add_css_dependencies puts "Installing CSS handling dependencies..." return if add_packages(CSS_DEPENDENCIES) GeneratorMessages.add_warning(<<~MSG.strip) ⚠️ Failed to add CSS dependencies. You can install them manually by running: npm install #{CSS_DEPENDENCIES.join(' ')} MSG rescue StandardError => e GeneratorMessages.add_warning(<<~MSG.strip) ⚠️ Error adding CSS dependencies: #{e.message} You can install them manually by running: npm install #{CSS_DEPENDENCIES.join(' ')} MSG end