-
Notifications
You must be signed in to change notification settings - Fork 70
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
Support for Webpacker #101
Comments
|
One option could be to add config option to copy the assets to |
Hi Nathan, many thanks for the messages & comprehensive information! I will need to double check this as the system was working fine up until the latest Rails release, so perhaps the assets methods have been phased out completely? I'll check in a bit for you. Rich |
Oh, the asset pipeline hasn’t been completely phased out. To be clear,
keeping the asset pipeline still works fine.
In my case, the exception_handler gem is the only thing in my project that
leverages the asset pipeline so was hoping to be able to configure it so
that I could remove the sprockets dependency.
|
Understandable.
Maybe I could add a configuration option for webpacker only?
Rich
… On 12/04/2021 16:46 Nathan MacInnes ***@***.***> wrote:
Oh, the asset pipeline hasn’t been completely phased out. To be clear,
keeping the asset pipeline still works fine.
In my case, the exception_handler gem is the only thing in my project that
leverages the asset pipeline so was hoping to be able to configure it so
that I could remove the sprockets dependency.
On Mon, Apr 12, 2021 at 11:26 Richard Peck ***@***.***> wrote:
> *This message originated outside your organization.*
>
> ------------------------------
>
> Hi Nathan, many thanks for the messages & comprehensive information!
>
> I will need to double check this as the system was working fine up until
> the latest Rails release, so perhaps the assets methods have been phased
> out completely? I'll check in a bit for you.
>
> Rich
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#101 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJQ4YDDGNHQDPQCGPLD5ABTTIMGKVANCNFSM42ZLJOKQ>
> .
>
--
*Nate MacInnes*
Business Technology Full-Stack Web Developer
Montreal, Canada (Remote)
***@***.***
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub #101 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINUL5HSM63XFCLN3ARMS3TIMIWFANCNFSM42ZLJOKQ .
|
@richpeck it would have been great to have it running in webpacker-only mode. The application I am working on also doesn't use sprockets assets pipeline. |
I'll look into this, and the eval problem, today
Rich
… On 29/07/2021 06:25 Yurii Rashkovskii ***@***.***> wrote:
@richpeck https://github.com/richpeck it would have been great to have it running in webpacker-only mode. The application I am working on also doesn't use sprockets assets pipeline.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #101 (comment) , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINULY54PQTEPTWFGBQ763T2DQ5LANCNFSM42ZLJOKQ .
|
I looked at the eval problem and you were correct -- I don't know why I used eval when send was sufficient. I have been looking at webpack integration. Unfortunately, it looks like getting webpacker to work with engines is not cut and dry. I'm trying to figure out how to make the two work side by side (IE if you don't have sprockets, how to get the CSS to compile with webpack). |
I'm hitting this error as well when trying to move away from sprockets to propshaft. Rails admin gem, for rails 7 support, move it's current approach and implemented an install task that detects webpack(er) config and attaches the needed configs to it, in case you want to look at some examples |
Hi, is there a workaround for that issue? I've added the gem to a Rails 6.1.6 project with webpacker it getting a |
In our project I removed a gem, which had |
Request to add support for Webpacker in place of Asset Pipeline.
The text was updated successfully, but these errors were encountered: