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

[Fix] "load from storage" and "Share" modals fix #1976

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Conversation

dariaterekhova-actionengine
Copy link
Collaborator

Signed-off-by: Daria Terekhova [email protected]

Signed-off-by: Daria Terekhova <[email protected]>
@@ -69,7 +69,7 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
workspaces.forEach(workspace => {
// workspace = "./src/types", "./src/constants", etc
const moduleName = workspace.split('/').pop();
resolveAlias[`@kepler.gl/${moduleName}`] = join(SRC_DIR, `${moduleName}/src`);
resolveAlias[`@kepler.gl/${moduleName}`] = join(SRC_DIR, `${moduleName}/dist`);
Copy link
Contributor

Choose a reason for hiding this comment

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

this function makes local dev setup, we should loads file from src instead of dist, changing this will not affect the production build

Signed-off-by: Shan He <[email protected]>
Signed-off-by: Shan He <[email protected]>
@heshan0131 heshan0131 merged commit 4e88e83 into master Sep 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the dt/demo-app-fix branch September 13, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants