Module: Proscenium
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/proscenium.rb,
lib/proscenium/phlex.rb,
lib/proscenium/utils.rb,
lib/proscenium/helper.rb,
lib/proscenium/monkey.rb,
lib/proscenium/builder.rb,
lib/proscenium/railtie.rb,
lib/proscenium/version.rb,
lib/proscenium/importer.rb,
lib/proscenium/resolver.rb,
lib/proscenium/side_load.rb,
lib/proscenium/middleware.rb,
lib/proscenium/ensure_loaded.rb,
lib/proscenium/log_subscriber.rb,
lib/proscenium/css_module/path.rb,
lib/proscenium/middleware/base.rb,
lib/proscenium/phlex/css_modules.rb,
lib/proscenium/middleware/engines.rb,
lib/proscenium/middleware/esbuild.rb,
lib/proscenium/middleware/runtime.rb,
lib/proscenium/css_module/rewriter.rb,
lib/proscenium/react_componentable.rb,
lib/proscenium/phlex/react_component.rb,
lib/proscenium/css_module/transformer.rb,
lib/proscenium/view_component/css_modules.rb,
lib/proscenium/view_component/react_component.rb
Defined Under Namespace
Modules: CssModule, EnsureLoaded, Helper, Monkey, ReactComponentable, SourcePath, UI, Utils Classes: Builder, Deprecator, Importer, LogSubscriber, Middleware, PathResolutionFailed, Phlex, Railtie, Resolver, SideLoad, ViewComponent
Constant Summary collapse
- FILE_EXTENSIONS =
['js', 'mjs', 'ts', 'jsx', 'tsx', 'css', 'js.map', 'mjs.map', 'jsx.map', 'ts.map', 'tsx.map', 'css.map'].freeze
- DEFAULT_RAILS_ASSET_PATHS =
Default paths for Rails assets. Used by the ‘compute_asset_path` helper to maintain Rails default conventions of where JS and CSS files are located.
{ stylesheet: 'app/assets/stylesheets/', javascript: 'app/javascript/' }.freeze
- ALLOWED_DIRECTORIES =
'app,lib,config,vendor,node_modules'
- DEFAULT_ENV_VARS =
Environment variables that should always be passed to the builder.
Set['RAILS_ENV', 'NODE_ENV'].freeze
- VERSION =
'0.18.0'
- NotIncludedError =
Class.new(StandardError)