-
Notifications
You must be signed in to change notification settings - Fork 44
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
asset_url helpers don't work #18
Comments
If you need the |
Latest Sprockets and Propshaft will both replace url() to an digest-stamped version. |
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18
Also, replace `image-url` helper instances with CSS url() function See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Also, add asset handlers to ensure fonts and images are correctly referenced. See https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#copy-the-font-and-image-files-into-your-application. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Replace instances with CSS url() function. See rails/dartsass-rails#18.
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
Both Sprockets and Propshaft will replace `url` with a digested version [1]. This change allows to use these Sass files with other Sass implementations like, Dartsass [2]. [1] rails/dartsass-rails#18 (comment) [2] https://github.com/rails/dartsass-rails
In switching over from sass-rails to dartsass-rails, I noticed the asset path helpers no longer work. In development mode, something like this works fine:
but in production, neither that nor this works:
The text was updated successfully, but these errors were encountered: