esbuild-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68b88826751bb695c1ca6fc0ec1b516260bdcf9e9d2ffdb82d2aa9a6920c5de2
4
- data.tar.gz: 94e6540dfa0c07d54531616d1b957fa47e2b2d0572f4e877c2cdea8fb2faf86e
3
+ metadata.gz: ea02c3de6d84b9d5181fa87935369ecdd5dc46d042079c44b4634f5929ffecf6
4
+ data.tar.gz: 965a84e11aa7585646ca6863410e0d0c3b7cb45f101f3b8e7b5495e15e2f8145
5
5
  SHA512:
6
- metadata.gz: aff716a47c4964fddbbef2082a72857e313de582280ff45ebdf10774d1a971a45d02615568a033b6b9f103c98c8fd8072ffeeb3fa01bd4f37e3d39eaa2356cd5
7
- data.tar.gz: b82f71efcba827218a5904874680c5f16cc93f11ce5c1756c5a3ede6e6f6974189791101a8480a61985465cb951e60700b9e6bc04b1359ca4f0dc8b7866c2b38
6
+ metadata.gz: b99b0218f265d3179c6aa3349895a48ef046a2cfd277af306b2cafb257145fcf59d330d86a0762622e1a5295d224a462b53394b012a9c4f5a1d49b2627d64cf5
7
+ data.tar.gz: cdc7303a7ec2888080a864591602562c316ef3ba35df1b5e148a632a65b54ad93aed0e992af30efdb7067e923c4f85d2aa94de7edcaaeb2d5f617efa9a666d58
data/README.md CHANGED
@@ -13,6 +13,8 @@ You can tailor the configuration of esbuild through the build script in `package
13
13
 
14
14
  ## Installation
15
15
 
16
+ You must already have node and npm installed on your system. Then:
17
+
16
18
  1. Add `esbuild-rails` to your Gemfile with `gem 'esbuild-rails'`
17
19
  2. Run `./bin/bundle install`
18
20
  3. Run `./bin/rails esbuild:install`
@@ -1,3 +1,3 @@
1
1
  module Esbuild
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  say "Compile into app/assets/esbuilds"
2
- directory "#{__dir__}/esbuilds", "app/assets/esbuilds"
2
+ empty_directory "app/assets/esbuilds"
3
+ keep_file "app/assets/esbuilds"
3
4
  append_to_file "app/assets/config/manifest.js", %(//= link_tree ../esbuilds .js\n)
4
5
 
5
6
  if Rails.root.join(".gitignore").exist?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esbuild-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson