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

webpack without asset pipeline: method_missing: undefined method assets for #<Rails::Application::Configuration #167

Open
gingerlime opened this issue Apr 10, 2021 · 1 comment
Labels

Comments

@gingerlime
Copy link

Can lit work without the asset pipeline? our Rails app uses webpack and we removed the asset pipeline. Running rails g lit:install produces this error

...
        1: from /usr/local/bundle/gems/lit-1.1.1/lib/lit/engine.rb:10:in `block in <class:Engine>'
/usr/local/bundle/gems/railties-6.0.3.6/lib/rails/railtie/configuration.rb:96:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x000056502c0f0d48> (NoMethodError)
@gingerlime gingerlime changed the title webpack without asset pipeline: method_missing': undefined method assets' for #<Rails::Application::Configuration webpack without asset pipeline: method_missing: undefined method assets for #<Rails::Application::Configuration Apr 10, 2021
@pnikrat
Copy link
Contributor

pnikrat commented Dec 24, 2021

I don't think we support webpack-only projects for now (maybe if we were able to finally get rid of some frontend dependencies like jquery etc.). Maybe there is a way to adjust the code for webpack-only projects but we are not able to investigate it now and in the near future. If you have any ideas please submit the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants