Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Aug 31, 2023

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!

@@ -11,6 +11,7 @@
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

@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.

@@ -11,6 +11,7 @@
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

@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
12 checks passed
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants