Level 4
Guess not.
Has anyone encountered when running gulp --production that bless will use the unminifed css?
I can't believe that no-one has this issue?
gulp file looks like this:
// the config.get is a wrapper that pulls in a path from a config file
console.log(
config.get('scss.0.in', 'scss'),
config.get('scss.0.out', 'css'),
config.get('bless.0.in', 'css'),
config.get('bless.0.out', 'css')
);
mix.sass(config.get('scss.0.in', 'scss'), config.get('scss.0.out', 'css'), {sourceComments: true})
.sass(config.get('scss.1.in', 'scss'), config.get('scss.1.out', 'css'))
.sass(config.get('scss.2.in', 'scss'), config.get('sass.2.out', 'css'))
.sass(config.get('scss.3.in', 'scss'), config.get('scss.3.out', 'css'))
.sass(config.get('scss.4.in', 'scss'), config.get('scss.4.out', 'css'))
// it's not using the minified css from the steps prior...
.bless(config.get('bless.0.in', 'css'), config.get('bless.0.out', 'css'), {imports: true})
.browserSync({
files: ["../../public/**/*.css", "../../public/**/*.js", "../../public/**/*.php"],
proxy: "website.app",
port: 4000,
logPrefix: "Laravel Eixir BrowserSync"
});
// ...etc...
console.log generates:
./resources/assets/sass/main.scss
./../../public/alpha/css/main.css
[ './../../public/alpha/css/main.css' ]
./../../public/alpha/blessed.css
Anyone else have this issue?
Please or to participate in this conversation.