mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-22 18:18:39 +00:00
Frontend: Update webpack.config.js
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
833e82bb9c
commit
1b09c2b8e3
1 changed files with 3 additions and 1 deletions
|
|
@ -78,7 +78,9 @@ const config = {
|
|||
clean: true,
|
||||
},
|
||||
resolve: {
|
||||
modules: isCustom ? [PATHS.custom, PATHS.src, PATHS.modules] : [PATHS.src, PATHS.modules],
|
||||
modules: isCustom
|
||||
? [PATHS.custom, PATHS.src, "node_modules", PATHS.modules]
|
||||
: [PATHS.src, "node_modules", PATHS.modules],
|
||||
preferRelative: true,
|
||||
alias: {
|
||||
"vue$": "vue/dist/vue.runtime.esm-bundler.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue