jsbundling-rails 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/README.md +1 -1
- data/lib/install/esbuild/install.rb +1 -0
- data/lib/install/rollup/install.rb +1 -0
- data/lib/install/webpack/install.rb +1 -0
- data/lib/jsbundling/version.rb +1 -1
- data/lib/tasks/jsbundling/clobber.rake +2 -0
- 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: da26b732da73b487d5947d452d49b253b7dc19b134a213c14295085f38ac960f
|
4
|
+
data.tar.gz: 5070afe7f7681941291659451972f8dcaad1a5bb25e34edac521b8a540e54012
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbc6ce778dc63da90bec9217ba2f869bcf04453160f63106f357a1cc967f1dede7828cdc04f852ae1187d4208faf95b7ab4295043afeafe2b70e6a187cf03ee2
|
7
|
+
data.tar.gz: 5d7b9e5b4cd21f408c9b657bcaa62401769e249c617980781a33b6445178e34777db17b6db5079589064697faaa8dd4b3f05e3384c3f5bb5e63f86caf19b0636
|
data/README.md
CHANGED
@@ -38,7 +38,7 @@ The default build script for esbuild relies on the `app/javascript/*.*` glob pat
|
|
38
38
|
|
39
39
|
## Why does esbuild overwrite my application.css?
|
40
40
|
|
41
|
-
If you [import CSS](https://esbuild.github.io/content-types/#css-from-js) in your application.js while using esbuild, you'll be creating both an `app/assets/builds/application.js` _and_ `app/assets/builds/application.css` file when bundling. The latter can conflict with the `app/assets/builds/application.
|
41
|
+
If you [import CSS](https://esbuild.github.io/content-types/#css-from-js) in your application.js while using esbuild, you'll be creating both an `app/assets/builds/application.js` _and_ `app/assets/builds/application.css` file when bundling. The latter can conflict with the `app/assets/builds/application.css` produced by [cssbundling-rails](https://github.com/rails/cssbundling-rails). The solution is to either change the output file for esbuild (and the references for that) or for cssbundling. Both are specified in `package.json`.
|
42
42
|
|
43
43
|
|
44
44
|
## License
|
data/lib/jsbundling/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsbundling-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|