class Mint::Bundler
- Mint::Bundler
- Reference
- Object
Overview
This class is responsible for compiling and building the application.
Defined in:
bundler.crConstructors
Instance Method Summary
- #application(*args, **options)
- #application(*args, **options, &)
-
#artifacts : TypeChecker::Artifacts
The artifacts to bundle.
- #bundle
- #bundle_name(node : Ast::Node | Bundle) : String
-
#bundle_names : Hash(Mint::Ast::Node | Mint::Compiler2::Bundle, String)
Contains the names of the bundles.
-
#config : Config
The bundle configuration.
-
#files : Hash(String, -> String)
The end result of the bundling.
- #generate_application
- #generate_assets
- #generate_icons
- #generate_icons?
- #generate_index_html
- #generate_manifest
-
#json : MintJson
The application configuration.
- #path_for_asset(filename : String) : String
- #path_for_bundle(node : Ast::Node | Bundle) : String
- #path_for_import(node : Ast::Node | Bundle) : String
Constructor Detail
def self.new(*, config : Mint::Bundler::Config, artifacts : Mint::TypeChecker::Artifacts, json : Mint::MintJson)
#
Instance Method Detail
Contains the names of the bundles.
The end result of the bundling. It contains the all the files for the application.