Skip to content

Update webpack dev server configuration options, fixes for perspective 2.0+#2350

Merged
texodus merged 2 commits intomasterfrom
tkp/examples
Aug 31, 2023
Merged

Update webpack dev server configuration options, fixes for perspective 2.0+#2350
texodus merged 2 commits intomasterfrom
tkp/examples

Conversation

@timkpaine
Copy link
Member

This PR fixes a few issues:

  • web pack contentBase was renamed to static
  • import of @finos/perspective-workspace no longer include @finos/perspective-viewer, so that needs to be imported separately
  • same but for CSS assets

@timkpaine timkpaine added the internal Internal refactoring and code quality improvement label Aug 24, 2023
@timkpaine timkpaine marked this pull request as ready for review August 24, 2023 17:19
Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good!

// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

@import "~@finos/perspective-workspace/dist/theme/pro.less";
@import "~@finos/perspective-viewer/dist/css/themes.css";
Copy link
Member

@texodus texodus Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be @import "~@finos/perspective-viewer/dist/css/pro.css";, since we don't support theming yet in workspaces.

// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

@import "~@finos/perspective-workspace/dist/css/pro-dark.css";
@import "~@finos/perspective-viewer/dist/css/themes.css";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"

@texodus texodus merged commit bec2442 into master Aug 31, 2023
@texodus texodus deleted the tkp/examples branch August 31, 2023 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal refactoring and code quality improvement

Development

Successfully merging this pull request may close these issues.

2 participants