Skip to content

Commit

Permalink
chore(deps): Updated all packages to latest versions (#66)
Browse files Browse the repository at this point in the history
Also, fixed the basePath when running in local dev environment.
  • Loading branch information
bourquep authored Dec 8, 2024
1 parent dc434a3 commit 4f5ea59
Show file tree
Hide file tree
Showing 3 changed files with 708 additions and 1,051 deletions.
5 changes: 4 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const withNextIntl = createNextIntlPlugin();

const nextConfig: NextConfig = {
output: 'export',
basePath: `/##METEO_BASE_PATH##/${process.env.METEO_BUILD_LOCALE || 'en'}`,
basePath:
process.env.NODE_ENV === 'production'
? `/##METEO_BASE_PATH##/${process.env.METEO_BUILD_LOCALE || 'en'}`
: undefined,
distDir: `out/${process.env.METEO_BUILD_LOCALE || 'en'}`
};

Expand Down
Loading

0 comments on commit 4f5ea59

Please sign in to comment.