We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of assuming that the app is using the default path (/app/javascript), you could get the right one with Webpacker.config.source_path .
/app/javascript
Webpacker.config.source_path
Currently, if /app/javascript is not being used, Sprockets is used.
https://github.com/railsware/js-routes/blob/ff9c32d82811d2ffda0acec7f37f7ec7af82b6af/lib/js_routes/configuration.rb#L78C7-L78C52
The text was updated successfully, but these errors were encountered:
Use webpacker dir config variable instead of hardcode. #309
90db9e5
No branches or pull requests
Instead of assuming that the app is using the default path (
/app/javascript
), you could get the right one withWebpacker.config.source_path
.Currently, if
/app/javascript
is not being used, Sprockets is used.https://github.com/railsware/js-routes/blob/ff9c32d82811d2ffda0acec7f37f7ec7af82b6af/lib/js_routes/configuration.rb#L78C7-L78C52
The text was updated successfully, but these errors were encountered: