Imposible compile 2 scss files with a same name but in different location
See original GitHub issuelaravel-mix version “0.5.16”
It works with javascript but not with scss. Works if I rename app.scss to something like app2.scss
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix
.js('resources/assets/js/app.js', 'public/js')
.js('Modules/Admin/Resources/assets/js/app.js', 'public/modules/admin/js')
.extract(['jquery', 'vue', 'lodash'])
.sass('Modules/Admin/Resources/assets/sass/app.scss', 'public/modules/admin/css')
.sass('resources/assets/sass/app.scss', 'public/css');
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Imposible compile 2 scss files with a same name but ... - GitHub
Imposible compile 2 scss files with a same name but in different ... It uses a folder-name/file.ext regular expression to find the file....
Read more >Compile multiple SASS files in multiple directories, into ...
You can compile multiple sass files into multiple css files by specifying multiple source:output separated by a space like this:
Read more >So in SASS does it mean that I need 2 of the same files in the ...
The command will only create a folder if it doesn't exist in that location. With only one compilable and many partials Sass will...
Read more >Sass - SuiteCRM Documentation
All you need to know to successfully use SuiteCRM as an End-User, Developer or Administrator, plus Community Guidelines and Technical Blog.
Read more >An Introduction to PostCSS - SitePoint
CSS preprocessors are popular, but they have some drawbacks. Learn the advantages of ... Then create a _reset.css file in the same folder:...
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
Thanks!
Hi Jeffrey,
I did all you wanted and both files were generated…