Sha256: f6e0f1b88ce8d43790e9e13bcb7b6f30b9af149bd0bab50f0895502895ebe7af

Contents?: true

Size: 1.59 KB

Versions: 16

Compression:

Stored size: 1.59 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
  component_guide/print.css
  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

16 entries across 16 versions & 1 rubygems

Version Path
govuk_publishing_components-21.42.0 config/initializers/assets.rb
govuk_publishing_components-21.41.4 config/initializers/assets.rb
govuk_publishing_components-21.41.3 config/initializers/assets.rb
govuk_publishing_components-21.41.2 config/initializers/assets.rb
govuk_publishing_components-21.41.1 config/initializers/assets.rb
govuk_publishing_components-21.41.0 config/initializers/assets.rb
govuk_publishing_components-21.40.0 config/initializers/assets.rb
govuk_publishing_components-21.39.0 config/initializers/assets.rb
govuk_publishing_components-21.38.5 config/initializers/assets.rb
govuk_publishing_components-21.38.4 config/initializers/assets.rb
govuk_publishing_components-21.38.3 config/initializers/assets.rb
govuk_publishing_components-21.38.2 config/initializers/assets.rb
govuk_publishing_components-21.38.1 config/initializers/assets.rb
govuk_publishing_components-21.38.0 config/initializers/assets.rb
govuk_publishing_components-21.37.0 config/initializers/assets.rb
govuk_publishing_components-21.36.1 config/initializers/assets.rb