File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
29
29
- Update PostgreSQL from ` 13.2 ` to ` 13.3 `
30
30
- Update Redis from ` 6.0.10 ` to ` 6.2.3 `
31
31
- Use new packs directory structure recommended by Webpacker 6
32
+ - Enable JIT compiler for TailwindCSS
32
33
- Move ` tailwind.config.js ` to the root of the project
33
34
34
35
### Fixed
Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ class Application < Rails::Application
35
35
config . action_cable . allowed_request_origins = origins
36
36
end
37
37
end
38
+
39
+ # Ensure the TailwindCSS JIT compiler exits properly.
40
+ Webpacker ::Compiler . env [ "TAILWIND_MODE" ] = "build"
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- // mode: "jit",
2
+ mode : "jit" ,
3
3
purge : {
4
4
enabled : [ "production" ] . includes ( process . env . NODE_ENV ) ,
5
5
content : [
You can’t perform that action at this time.
0 commit comments