Sha256: 8db2dc78cd4721ada91075de3846f962bce415fa7e1f7b9d7ad5936e3cbec216

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

@ruby2js_options = {filters: ['lit-element']}
@yarn_add='lit-element'
eval IO.read "#{__dir__}/webpacker.rb"

directory File.expand_path("app/javascript/elements", __dir__),
  Rails.root.join('app/javascript/elements').to_s

append_to_file Rails.root.join('app/javascript/packs/application.js').to_s,
  "\nimport 'elements'\n"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby2js-4.1.7 lib/tasks/install/litelement.rb
ruby2js-4.1.6 lib/tasks/install/litelement.rb
ruby2js-4.1.5 lib/tasks/install/litelement.rb
ruby2js-4.1.4 lib/tasks/install/litelement.rb
ruby2js-4.1.3 lib/tasks/install/litelement.rb
ruby2js-4.1.2 lib/tasks/install/litelement.rb
ruby2js-4.1.1 lib/tasks/install/litelement.rb
ruby2js-4.1.0 lib/tasks/install/litelement.rb
ruby2js-4.0.5 lib/tasks/install/litelement.rb
ruby2js-4.0.4 lib/tasks/install/litelement.rb