Sha256: a9c2d9f2160e880ebf3c58cd0079b34a90f8c9e615d55445deb22333502236e5
Contents?: true
Size: 583 Bytes
Versions: 11
Compression:
Stored size: 583 Bytes
Contents
module Isomorfeus module Redux module Imports def self.add # make sure static app stylesheets are imported first, if provided imports_path = File.join(Isomorfeus.app_root, 'imports') if Dir.exist?(imports_path) %w[sass scss css].each do |ending| styles_file = File.join(imports_path, 'stylesheets.' + ending) Isomorfeus.add_web_js_import(styles_file) if File.exist?(styles_file) end end Isomorfeus.add_common_js_import('redux', 'Redux', '*') end end end end
Version data entries
11 entries across 11 versions & 1 rubygems