mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Do not use a slash prefix for .setPublicPath() in webpack config. Webpack encore 5 seemed to have changed something, so that it does not get overriden anymore
We just get a warning, which we can ignore.
This commit is contained in:
parent
24137b30a5
commit
e8ca11a5cf
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ if (!Encore.isRuntimeEnvironmentConfigured()) {
|
|||
Encore
|
||||
// directory where compiled assets will be stored
|
||||
.setOutputPath('public/build/')
|
||||
// This value doesn't matter, as the public path is set to auto later down. This is just to prevent a warning
|
||||
.setPublicPath('/build')
|
||||
// Do not use a / prefix, here as that would break asset loading when serving Part-DB under a prefix!
|
||||
.setPublicPath('build')
|
||||
// only needed for CDN's or subdirectory deploy (this should not be needeed, as we use auto public path)
|
||||
//.setManifestKeyPrefix('build/')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue