Skip to content

Commit

Permalink
fix: notice (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh authored Dec 6, 2024
1 parent ae15855 commit 3b4a8b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,13 @@ const withExternals = async (config) => {
const missingAliases = () => {
const aliases = {}

if (!fs.existsSync('../src/frontends/_source/apps/docs/.vitepress/theme.hub.ts')) {
if (!fs.existsSync('./src/frontends/_source/apps/docs/.vitepress/theme.hub.ts')) {
console.log('Warning: Aliasing Frontends theme (mount shopware/frontends repo)')
aliases['../../src/frontends/_source/apps/docs/.vitepress/theme.hub.ts'] = resolve(__dirname, '../hotfix/frontends-theme.ts')
}

if (!fs.existsSync('../src/release-notes/latest.md')) {
if (!fs.existsSync('./src/release-notes')) {
console.log('Warning: Aliasing release notes (mount shopware/release-notes repo)')
aliases['../release-notes/latest.md'] = resolve(__dirname, '../hotfix/release-notes-latest.md')
}

Expand Down

0 comments on commit 3b4a8b4

Please sign in to comment.