Sha256: 459365d63f0e0191ef2c41eb865c9934a81518ae777066b2c7e447087595682f

Contents?: true

Size: 1.56 KB

Versions: 53

Compression:

Stored size: 1.56 KB

Contents

return unless Rails.application.config.respond_to?(:assets)

# GOV.UK Publishing Components assets
Rails.application.config.assets.precompile += %w(
  component_guide/accessibility-test.js
  component_guide/application.js
  component_guide/filter-components.js
  component_guide/visual-regression.js
  govuk_publishing_components/all_components.js
  govuk_publishing_components/modules.js
  govuk_publishing_components/vendor/modernizr.js
  govuk_publishing_components/component_guide.css
  govuk_publishing_components/favicon-development.png
  govuk_publishing_components/favicon-example.png
  govuk_publishing_components/favicon-integration.png
  govuk_publishing_components/favicon-production.png
  govuk_publishing_components/favicon-staging.png
  govuk_publishing_components/govuk-logo.png
  govuk_publishing_components/govuk-schema-placeholder-1x1.png
  govuk_publishing_components/govuk-schema-placeholder-4x3.png
  govuk_publishing_components/govuk-schema-placeholder-16x9.png
  govuk_publishing_components/search-button.png
  govuk_publishing_components/icon-file-download.svg
  govuk_publishing_components/icon-important.svg
  govuk_publishing_components/chevron-banner/*.svg
  govuk_publishing_components/crests/*.png
)

# GOV.UK Frontend assets
Rails.application.config.assets.precompile += %w(
  govuk-logotype-crown.png
)

Rails.application.config.assets.paths += %W(
  #{__dir__}/../../node_modules/govuk-frontend/govuk/assets/images
  #{__dir__}/../../node_modules/govuk-frontend/govuk/assets/fonts
  #{__dir__}/../../node_modules/govuk-frontend/
  #{__dir__}/../../node_modules/
)

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
govuk_publishing_components-21.36.0 config/initializers/assets.rb
govuk_publishing_components-21.35.0 config/initializers/assets.rb
govuk_publishing_components-21.34.1 config/initializers/assets.rb
govuk_publishing_components-21.34.0 config/initializers/assets.rb
govuk_publishing_components-21.33.0 config/initializers/assets.rb
govuk_publishing_components-21.32.0 config/initializers/assets.rb
govuk_publishing_components-21.31.0 config/initializers/assets.rb
govuk_publishing_components-21.30.0 config/initializers/assets.rb
govuk_publishing_components-21.29.1 config/initializers/assets.rb
govuk_publishing_components-21.29.0 config/initializers/assets.rb
govuk_publishing_components-21.28.1 config/initializers/assets.rb
govuk_publishing_components-21.28.0 config/initializers/assets.rb
govuk_publishing_components-21.27.1 config/initializers/assets.rb
govuk_publishing_components-21.27.0 config/initializers/assets.rb
govuk_publishing_components-21.26.2 config/initializers/assets.rb
govuk_publishing_components-21.26.1 config/initializers/assets.rb
govuk_publishing_components-21.26.0 config/initializers/assets.rb
govuk_publishing_components-21.25.0 config/initializers/assets.rb
govuk_publishing_components-21.24.0 config/initializers/assets.rb
govuk_publishing_components-21.23.1 config/initializers/assets.rb