Sha256: d9d4735aef3c01da2e7dcc514d2897d2148ce69c879363c23c7867933749ab0f

Contents?: true

Size: 514 Bytes

Versions: 14

Compression:

Stored size: 514 Bytes

Contents

Svelte.configure do |config|
  # @note overridable at render time with svelte[:ssr] local
  # @default true
  # @return [Boolean] whether server-side rendering is enabled globally
  config.ssr = true

  # @return [Hash] path aliases available in ESM imports in Svelte files
  config.aliases = {
    :$root => Rails.root,
    :$app => Rails.root.join("app"),
    :$views => Rails.root.join("app", "views")
  }

  # @default {}
  # @return [Hash] of your Svelte preprocess configuration
  config.preprocess = {}
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
actionview-svelte-handler-0.8.1 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.8.0 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.7.0 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.6.0 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.7 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.6 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.5 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.4 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.3 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.2 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.1 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.5.0 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.4.1 lib/generators/svelte/templates/install/initializer.rb
actionview-svelte-handler-0.4.0 lib/generators/svelte/templates/install/initializer.rb