Module: Epuber::Compiler::FileFinders
- Defined in:
- lib/epuber/compiler/file_finders/normal.rb,
lib/epuber/compiler/file_finders/abstract.rb,
lib/epuber/compiler/file_finders/imaginary.rb
Defined Under Namespace
Classes: Abstract, FileNotFoundError, Imaginary, MultipleFilesFoundError, Normal
Constant Summary collapse
- BINARY_EXTENSIONS =
%w[.png .jpeg .jpg .otf .ttf].freeze
- STATIC_EXTENSIONS =
BINARY_EXTENSIONS + %w[.css .js]
- GROUP_EXTENSIONS =
{ text: %w[.xhtml .html .bade], image: %w[.png .jpg .jpeg], font: %w[.otf .ttf], style: %w[.css .styl], script: %w[.js .coffee], }.freeze
- EXTENSIONS_RENAME =
{ '.styl' => '.css', '.bade' => '.xhtml', '.coffee' => '.js', }.freeze