vuejs-webpack-rails 0.0.1 → 0.0.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68804d057121f1ff6d2567ef881255cd368facde
|
4
|
+
data.tar.gz: b605d3b15d80a2e97d49404510b22fc6de2b6fb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e47af650aac9ad66f2a7abac080054893d614e9d740ba92b55616a25fb6418a26e04fcff967765bdcfc0a22458b8033f982e5865387c6e4a60603593612f2550
|
7
|
+
data.tar.gz: d6bbf72bc4ff4e5dc5187cbc3736b4d499248f3f701219418dcf85f44526739c526d142ae61886a98ed34184d536df26e2c5d2a737456e55ef13d3eef3c141e7
|
@@ -54,6 +54,10 @@ module VuejsWebpackRails
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
def modify_procfile
|
58
|
+
gsub_file 'Procfile', %r{(config/webpack.config.js)\s*$}, '\1 --hot --inline'
|
59
|
+
end
|
60
|
+
|
57
61
|
def install_packages
|
58
62
|
install_npm_packanges '-S', *%w(vue lodash)
|
59
63
|
install_npm_packanges '-D', *%w(webpack-manifest-plugin extract-text-webpack-plugin webpack-merge)
|