Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ const SSPL_LICENSE_URL =

const baseUrl = process.env.DOCS_BASE_URL || '/';
const googleTagManagerId = process.env.DOCS_GOOGLE_TAG_MANAGER_ID || undefined;
const isDevelopment = process.env.NODE_ENV === 'development';

let storybookBaseUrl: string = 'https://eui.elastic.co/storybook';

if (process.env.NODE_ENV === 'development') {
if (isDevelopment) {
storybookBaseUrl = 'http://localhost:6006';
} else if (process.env.STORYBOOK_BASE_URL) {
storybookBaseUrl = process.env.STORYBOOK_BASE_URL;
Expand All @@ -30,7 +31,7 @@ if (process.env.NODE_ENV === 'development') {
const config: Config = {
title: 'Elastic UI Framework',
tagline: 'The framework powering the Elastic Stack',
favicon: 'favicon.ico',
favicon: isDevelopment ? 'favicon-dev.svg' : 'favicon.ico',
trailingSlash: true,

// Set the production url of your site here
Expand Down
16 changes: 16 additions & 0 deletions packages/website/static/favicon-dev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading