mirror of
https://github.com/koel/koel
synced 2025-02-26 04:07:18 +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 mix = require('laravel-mix')
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
|
|
||||||
|
mix.setResourceRoot('./public/')
|
||||||
|
|
||||||
mix.config.detectHotReloading()
|
mix.config.detectHotReloading()
|
||||||
if (mix.config.hmr) {
|
if (mix.config.hmr) {
|
||||||
// There's a bug with Mix/copy plugin which prevents HMR from working:
|
// There's a bug with Mix/copy plugin which prevents HMR from working:
|
||||||
|
|
Loading…
Add table
Reference in a new issue