react_on_rails 12.0.0.pre.beta.3 → 12.0.0.pre.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/tasks/assets.rake +7 -2
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f6b45ecf176bae7fd87037e00147a35747244f7c6ce113b88e5b556a455b278
|
4
|
+
data.tar.gz: 831b05ad059ff57802feaeaa6b0a363765e78eca90b55d9dd9eeab5383e95042
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e5dd4e97d970f0bb041da1b6e74e92b137b1ad74a72fe78b3bd885aaeb1712fb710fff4e3fd4230a56e1864506172dd95d2b0c50155b502b54fb101dd9fb2e
|
7
|
+
data.tar.gz: 0fbebe0217dde4d72a95fc10f5f88ff7a8535618da757b207519c7e44ca72da5c2763d56e09339d963d445419feffab8336a19a8bb3489589d60ff35f1bae928
|
data/lib/tasks/assets.rake
CHANGED
@@ -9,14 +9,19 @@ ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
|
|
9
9
|
ENV["NODE_ENV"] ||= "development"
|
10
10
|
|
11
11
|
unless ReactOnRails::WebpackerUtils.webpacker_webpack_production_config_exists?
|
12
|
+
# Ensure that rails/webpacker does not call bin/webpack if we're providing
|
13
|
+
# the build command.
|
14
|
+
ENV["WEBPACKER_PRECOMPILE"] = "false"
|
15
|
+
|
12
16
|
if Rake::Task.task_defined?("assets:precompile")
|
13
17
|
Rake::Task["assets:precompile"].enhance do
|
14
18
|
Rake::Task["react_on_rails:assets:webpack"].invoke
|
15
|
-
puts "Invoking task
|
19
|
+
puts "Invoking task webpacker:clean from React on Rails"
|
16
20
|
Rake::Task["webpacker:clean"].invoke
|
17
21
|
end
|
18
22
|
else
|
19
|
-
Rake::Task.define_task("assets:precompile" => ["react_on_rails:assets:webpack"
|
23
|
+
Rake::Task.define_task("assets:precompile" => ["react_on_rails:assets:webpack",
|
24
|
+
"webpacker:clean"])
|
20
25
|
end
|
21
26
|
end
|
22
27
|
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.0.pre.beta.
|
4
|
+
version: 12.0.0.pre.beta.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|