Class: SewingKit::Webpack::Manifest::TestWithNoAssets

Inherits:
Base
  • Object
show all
Defined in:
lib/sewing_kit/webpack/manifest/test_with_no_assets.rb

Instance Method Summary collapse

Methods inherited from Base

#clear_cache!, #initialize

Constructor Details

This class inherits a constructor from SewingKit::Webpack::Manifest::Base

Instance Method Details

#asset_bundle_name(_user_agent) ⇒ Object



9
10
11
# File 'lib/sewing_kit/webpack/manifest/test_with_no_assets.rb', line 9

def asset_bundle_name(_user_agent)
  "test"
end

#asset_dependencies(_entrypoint_name, _user_agent) ⇒ Object



13
14
15
# File 'lib/sewing_kit/webpack/manifest/test_with_no_assets.rb', line 13

def asset_dependencies(_entrypoint_name, _user_agent)
  {}
end

#manifestObject



17
18
19
# File 'lib/sewing_kit/webpack/manifest/test_with_no_assets.rb', line 17

def manifest
  raise OnlyUseInProductionError
end