esbuild-rails 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/esbuild/version.rb +1 -1
- data/lib/install/install.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea02c3de6d84b9d5181fa87935369ecdd5dc46d042079c44b4634f5929ffecf6
|
|
4
|
+
data.tar.gz: 965a84e11aa7585646ca6863410e0d0c3b7cb45f101f3b8e7b5495e15e2f8145
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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`
|
data/lib/esbuild/version.rb
CHANGED
data/lib/install/install.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
say "Compile into app/assets/esbuilds"
|
|
2
|
-
|
|
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?
|