We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a484ce commit 69a088cCopy full SHA for 69a088c
packages/vite-plugin-drupal/src/utils.ts
@@ -16,7 +16,7 @@ export function getThemeName(): string {
16
}
17
18
export function getThemeBasePath(): string {
19
- return process.cwd().split('/web').at(-1) || `/themes/custom/${getThemeName}`
+ return `/${process.cwd().split('/web/').at(-1)}` || `/themes/custom/${getThemeName}`
20
21
22
export function getDistThemeName(): string {
0 commit comments