svelte-on-rails 2.0.4 → 2.1.0
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 +1 -1
- data/lib/tasks/svelte_on_rails_tasks.rake +3 -8
- 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: 6fae4c4bf2119aa220d24e012f464136310c2409da41c1c13efd28dfc66c6221
|
4
|
+
data.tar.gz: 931d743b51f07cb28581c93f347499cca8ca4fdf31d6a8c0ac078c90f4446e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cfc39709d7a9e4936aacba08b80d8f159146c8a58a08fe4d760bd75b311339608514fc480bf240044f872255cc3dd081fa5c6c8f5e5b787255613b70c70267f
|
7
|
+
data.tar.gz: 5b9931cd49aa1115078f8406a85e3b6c28fe3645b9414ed42ace6bc3ac561c74936b04b355ad5e68d9701c55fd3fb219bb73915e5bab819415235a73c512f8c0
|
data/README.md
CHANGED
@@ -80,8 +80,8 @@ If you have issues, please open one, and contributors are welcome!
|
|
80
80
|
- if you use special packages (like pug) that requires commonjs, you may need
|
81
81
|
- npm on latest versions
|
82
82
|
- node installed.
|
83
|
-
- If node is not included on the PATH you can configure your node path by environment variable `SVELTE_ON_RAILS_NODE_BIN`
|
84
83
|
- if `nvm` is installed it gets the path to the node-binary from there.
|
84
|
+
- If node is not included on the PATH you can configure your node path by environment variable `SVELTE_ON_RAILS_NODE_BIN`
|
85
85
|
|
86
86
|
## Installation from cero ⚙️
|
87
87
|
|
@@ -1,13 +1,8 @@
|
|
1
1
|
if defined?(Rails) && Rake::Task.task_defined?("assets:precompile")
|
2
2
|
Rake::Task["assets:precompile"].enhance do
|
3
|
-
puts '
|
4
|
-
|
5
|
-
|
6
|
-
puts cmd
|
7
|
-
puts '-' * 80
|
8
|
-
puts `#{cmd}`
|
9
|
-
end
|
10
|
-
puts '-' * 80
|
3
|
+
puts '---- precompile svelte components for server side rendering ----'
|
4
|
+
utils = SvelteOnRails::Lib::Utils
|
5
|
+
utils.precompile
|
11
6
|
end
|
12
7
|
end
|
13
8
|
|