Sha256: 06bf3e1acd4a7e6d43317cb868f02d773f9f187fff509b0dadacf87a7a08a487

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

import Builder from "actionview-svelte-handler";

const bob = new Builder(
  '<%= path %>',
  '<%= Rails.root %>',
  JSON.parse('<%= Svelte.props.to_json || "{}" %>'), 
  JSON.parse('<%= locals.to_json || "{}" %>'),
  '<%= compiled_client || "" %>',
  '<%= compiled_server || "" %>',
  <%= ssr %>,
  '<%= Rails.root %>',
  JSON.parse('<%= Svelte.preprocess.to_json || "{}" %>'),
  JSON.parse('<%= Svelte.aliases.to_json || "{}" %>')
)

const built = await bob.build()

process.stdout.write(JSON.stringify(built))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actionview-svelte-handler-0.7.0 lib/svelte/templates/assembler.js.erb