I did a test in a vanilla Sage theme using the following, and it’s working on both yarn build and yarn build:production. I’d expect something like /app/themes/my-theme/resources/assets/styles or /wp-content/themes/my-theme/resources/assets/styles. Hmm… I don’t see a problem in your code at first glance.Ĭan you provide your config.json (and double check that it’s correct)? The error you provided in your original post is a little odd–it says it’s looking at /theme/resources/assets/styles for the module, which seems like a strange path. _variables.scss /** Import Bootstrap functions "~bootstrap/scss/functions" įont-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif Import theme styles "layouts/tinymce" ![]() * Prefix your imports with `~` to grab from node_modules/ ** Import everything from autoload "./autoload/**/*"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |