Set proper resource root

This commit is contained in:
Phan An 2017-10-02 22:01:05 +01:00
parent 4761926a78
commit 132d9c6ad5

View file

@ -1,6 +1,8 @@
const mix = require('laravel-mix')
const fs = require('fs')
mix.setResourceRoot('./public/')
mix.config.detectHotReloading()
if (mix.config.hmr) {
// There's a bug with Mix/copy plugin which prevents HMR from working: