Skip to content
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

Fix for webpacker issue 2071 #1

Closed
wants to merge 5 commits into from
Closed

Fix for webpacker issue 2071 #1

wants to merge 5 commits into from

Conversation

CarlosCD
Copy link

Hi Stéphane!

Thanks a lot for you work, adding Webpacker to ActiveAdmin. It is really what I needed, and I hope it gets merged soon.

I did find an issue, not very obvious, but it manifest itself on deployment. This is the problem: rails/webpacker#2071.

Which means that Webpacker sticks the stylesheets in the Javascript packs, and the presence of the stylesheets link causes an Exception. I added a very simple change just to avoid generating the stylesheets link if the Webpacker is set to be used.

I hope this is helpful for others as it is was for me.
Thanks!

@sgara sgara force-pushed the add-webpacker-switch branch 4 times, most recently from 9093bbe to 09fcdfb Compare January 28, 2020 12:59
@sgara sgara force-pushed the add-webpacker-switch branch 2 times, most recently from de888e3 to 8c89173 Compare February 4, 2020 18:34
@sgara sgara force-pushed the add-webpacker-switch branch 6 times, most recently from c7729ae to 8c5ed9d Compare March 17, 2020 22:06
@CarlosCD CarlosCD closed this by deleting the head repository Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants