cssbundling-rails 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/cssbundling/version.rb +1 -1
- data/lib/install/Procfile.dev +1 -1
- data/lib/install/install.rb +1 -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: 8c82ef361bd3cc309f18f8409933e815eec239fd35bd7da36b8efbce95836b1d
|
4
|
+
data.tar.gz: '08a38e4931966664bcb64946fc30f8b87130d4d38e76aed116fc52dddca63448'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bd72320a3937f2f07744b4ec6543313bf8892b3b19894061ac96ee129700c682ca2f72624b4498b4399206da2edeb84ed01280deb270ea0b58d1707c519855d
|
7
|
+
data.tar.gz: 4bff61453f9b2e847dcc0284221376d04f26323f68863f91f1e6d338fae5b7c91f5d9da27911dddfaaf1bf75d034cd08434cba4748d06feb949db49e9050694d
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ You can configure your bundler options in the `build:css` script in `package.jso
|
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
18
|
-
You must already have node and yarn installed on your system. Then:
|
18
|
+
You must already have node and yarn installed on your system. You will also need npx version 7.1.0 or later. Then:
|
19
19
|
|
20
20
|
1. Add `cssbundling-rails` to your Gemfile with `gem 'cssbundling-rails'`
|
21
21
|
2. Run `./bin/bundle install`
|
data/lib/cssbundling/version.rb
CHANGED
data/lib/install/Procfile.dev
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
web: bin/rails server
|
1
|
+
web: bin/rails server -p 3000
|
2
2
|
css: yarn build:css --watch
|
data/lib/install/install.rb
CHANGED
@@ -4,7 +4,7 @@ keep_file "app/assets/builds"
|
|
4
4
|
append_to_file "app/assets/config/manifest.js", %(//= link_tree ../builds\n)
|
5
5
|
|
6
6
|
if Rails.root.join(".gitignore").exist?
|
7
|
-
append_to_file(".gitignore", %(/app/assets/builds\n))
|
7
|
+
append_to_file(".gitignore", %(/app/assets/builds\n!/app/assets/builds/.keep\n))
|
8
8
|
end
|
9
9
|
|
10
10
|
say "Remove app/assets/stylesheets/application.css so build output can take over"
|