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
URL path of background-image described in SCSS is not converted to correct description in dist when using subdirectories.
ex) Subdirectory is /wp/, and image subdirectory is /photo/
/wp/wp-content/theme/themrish/assets/images/photo/example.jpg
/wp/wp-content/theme/themrish/dist/assets/images/example.jpg
background-image: url( $base-dir + 'assets/images/photo/bg_wrap.jpg' ); or background-image: url( #{$base-dir}assets/images/photo/example.jpg ); //#{$base-dir} on vite.config.
background-image: url(/dist/assets/images/example.jpg);
WordPress image URL(localhost) is //example.com/wp/wp-content/themes/exapmle/dist/example.jpg
The text was updated successfully, but these errors were encountered:
No branches or pull requests
URL path of background-image described in SCSS is not converted to correct description in dist when using subdirectories.
ex) Subdirectory is /wp/, and image subdirectory is /photo/
image in directory
develop
dist
SCSS
css
WordPress image URL(localhost) is //example.com/wp/wp-content/themes/exapmle/dist/example.jpg
The text was updated successfully, but these errors were encountered: