scss() always publishes to public even though other path specified
See original GitHub issueSo in the docs, sass is like mix.sass('resources/assets/sass/app.scss', 'public/css');
I changed public/css
to resources/build/css
. The css file ends up in public/resources/build/css/app.css
. I would expect it to go to resources/build/css/app.css
instead.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
Can't use relative paths in url() in scss files #12797 - GitHub
Globally I'd recommand to never use absolute paths in url() as it is pure CSS and is always relative to the index.html file...
Read more >Introducing Sass Modules - CSS-Tricks
Sass just launched a major new feature you might recognize from other languages: a module system. This is a big step forward for...
Read more >relative path to CSS file [closed] - Stack Overflow
How do I specify that the css directory is at the root of the Project folder? My project folder contains: build css dist...
Read more >The New SASS Module System: Out with @import, In with @use
The new @use rule is the replacement for @import which allows other stylesheets to use its variables, functions, and mixins. What makes the...
Read more >Sass: @use
Members (variables, functions, and mixins) loaded with @use are only visible in the stylesheet that loads them. Other stylesheets will need to write...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When you add versioning, it no longer creates
resources/build/css/app.css
. It creates something likeresources/build/css/app.13241212512.css
. So compensate for that by using a star.It’s assumed that your Sass should compile directly to the public directory. You can’t change that right now.
“public” in your output path is optional. So if you include it, we strip it off to avoid confusion.