Try to fix the issue where laravel mix is stucked in a loop

This commit is contained in:
Eduardo Gomez 2019-12-16 15:55:40 +01:00
parent 80538fdac9
commit 9720e53cee
2 changed files with 9 additions and 6 deletions

View file

@ -2,11 +2,11 @@
@font-face {
font-family: 'icomoon';
src: url('../fonts/icomoon/icomoon.eot?jcg9f9');
src: url('../fonts/icomoon/icomoon.eot?jcg9f9#iefix') format('embedded-opentype'),
url('../fonts/icomoon/icomoon.ttf?jcg9f9') format('truetype'),
url('../fonts/icomoon/icomoon.woff?jcg9f9') format('woff'),
url('../fonts/icomoon/icomoon.svg?jcg9f9#icomoon') format('svg');
src: url('../fonts/icomoon.eot?jcg9f9');
src: url('../fonts/icomoon.eot?jcg9f9#iefix') format('embedded-opentype'),
url('../fonts/icomoon.ttf?jcg9f9') format('truetype'),
url('../fonts/icomoon.woff?jcg9f9') format('woff'),
url('../fonts/icomoon.svg?jcg9f9#icomoon') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;

View file

@ -22,8 +22,11 @@ mix.js('js/helpers.js', 'js/')
.js('js/post.js', 'js/')
.js('js/page.js', 'js/')
.extract()
.sass('sass/app.scss', 'css/')
.setPublicPath('../assets')
.sass('sass/app.scss', 'css/')
.options({
processCssUrls: false
})
.setResourceRoot('/assets')
.browserSync({
proxy: "localhost:2368",