mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
Set proper resource root
This commit is contained in:
parent
4761926a78
commit
132d9c6ad5
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue