-
Notifications
You must be signed in to change notification settings - Fork 187
Expected compile speed ? #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is this using webpacker or the asset pipeline? If webpacker, it is what it is. We don't really have any control over that. |
Sorry - this is webpacker - do I have an option to not use webpacker yet when rolling with hotwire and stimulus (this is a brand new application I'm writing primarily to familiarise myself with these two) ? |
@defsdoor The short tutorial on https://hotwire.dev/ doesn't rely on webpacker, it's using the asset pipeline. This should get you started. |
Here’s how I start a new Hotwire app without webpacker.
This skips webpacker, turbolinks and rails ujs. Then add
This gives you a new rails app with a beautiful assets/javascripts folder with turbo and stimulus ready to go. |
@leehericks thanks for this - giving it a go now. BTW - the option is --skip-javascript @dmarcoux cheers |
@defsdoor Sorry, I swear I double checked that before posting 😅 |
All seems to work ok - thank you all. I'm really interested in tailwind - is anyone aware of a project or efforts to create a sass based version ? To me, using sass mixins is much more comfortable than postcss (and the beast it requires) rendering of the css. I've already hit a need to add a minor customisation. |
Yes, if the app doesn't have webpacker, then it'll use the asset pipeline. --skip-javascript |
I'm getting ~7 seconds to compile an unaltered pipeline - is this typical as it severely impacts my workflow ?
My PC has a AMD Ryzen 9 3950X CPU - it's not a slow machine :|
The text was updated successfully, but these errors were encountered: