-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
I have webpack in Laravel 6
webpack.mix.js
const mix = require('laravel-mix');
mix.react('resources/js/app.js', 'public/js');
mix.scripts([
'public/js/app.js',
'resources/js/includes/ral.js',
'resources/js/includes/script.js'
], 'public/js/app.js')
.sourceMaps()
.version();
mix.sass('resources/sass/app.scss', 'public/css');
Then I have bootstrap, slick-carousel and sass-flex-mixin installed in node_modules folder and I import them in my app.scss
app.scss
@import '~bootstrap/scss/bootstrap';
@import '~slick-carousel/slick/slick';
@import '~slick-carousel/slick/slick-theme';
@import '~sass-flex-mixin/flex';
@import 'variables';
@import 'includes/fontello';
@import 'style';
Then in _style.scss I have
.mystyleinc { @include flexbox; }
.mystyleext { @extend %flexbox; }
As I understand from tests.css both styles should be compiled into code below
.flexbox {
display: -webkit-box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex; }
But I have different output. For mystyleinc I see only 3 of 5 properties. And mystyleext is absolutely empty.
.mystyleinc {
display: -webkit-box;
display: -moz-flex;
display: flex;
}
What is wrong?
Metadata
Metadata
Assignees
Labels
No labels