ror_generators 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/ror_generators/new_generator.rb +3 -4
- data/lib/ror_generators/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56856411cf18a98f59733a837f6840c64aa811ab
|
4
|
+
data.tar.gz: f85c1bbe3ea5ada1bad12eb4ae5c376690ffe6df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2302ebcb75793903d2566eb32f2dfbe3d6a97df0968265c5bdc2debbdeb844a8e636764c83e1bf0fdadf30f24c0e71509fd89dde912b4659182341d6fdad01e6
|
7
|
+
data.tar.gz: 173721f96d8d9f0d28d3ea2bde842e99648cbfca7565c10193f179587db7958b1049c918432bc76fe4e8cd41e622753e7405f1435c75517733a3ae9dfc2c02f6
|
@@ -47,10 +47,9 @@ module RorGenerators
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def copy_webpack_config
|
50
|
-
if dest_file_exists?("client/webpack.config.js
|
51
|
-
inject_into_file "client/webpack.config.js
|
52
|
-
|
53
|
-
RUBY
|
50
|
+
if dest_file_exists?("client/webpack.config.js")
|
51
|
+
inject_into_file "client/webpack.config.js", after: "'babel-polyfill',\n" do
|
52
|
+
"'./app/bundles/#{module_name}/startup/registration',\n"
|
54
53
|
end
|
55
54
|
else
|
56
55
|
template "client/webpack.config.js.erb", "client/webpack.config.js"
|