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

Build two client bundles — ES5 and ES6 #855

Merged
merged 6 commits into from
Mar 3, 2022
Merged

Build two client bundles — ES5 and ES6 #855

merged 6 commits into from
Mar 3, 2022

Conversation

plesiecki
Copy link
Collaborator

@plesiecki plesiecki commented Feb 28, 2022

@plesiecki plesiecki force-pushed the babel-build branch 2 times, most recently from ac4bedf to 3381f3c Compare February 28, 2022 10:34
@github-actions
Copy link

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

2 similar comments
@github-actions
Copy link

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@plesiecki plesiecki force-pushed the babel-build branch 2 times, most recently from 2819bd9 to 7941741 Compare March 1, 2022 14:21
@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

2 similar comments
@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@plesiecki plesiecki marked this pull request as ready for review March 1, 2022 15:07
@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

module.exports = (api) => {
api.cache(true);
return {
passPerPreset: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This helps with VisualizationManifest class which only has fileds declaration within constructor.

@@ -190,8 +190,6 @@ export class Essence extends ImmutableRecord<EssenceValue>(defaultEssence) {
return timeFilter;
}

public visResolve: Resolve;
Copy link
Contributor

Choose a reason for hiding this comment

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

How did app broke (build, e2e?) so you had to remove this line? Because in theory this is correct code and I'm wondering if we will get more cryptic errors like this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It builds ok but it causes visResolve to be a undefined during runtime. Then e2e failed miserably.

Actually I expected more cases like this but it was single one. I'm not sure why that single field out of all fields is re-declare. I assume that parent class declares it and it's superfluous 🤔

src/server/views.ts Show resolved Hide resolved
@@ -190,8 +190,6 @@ export class Essence extends ImmutableRecord<EssenceValue>(defaultEssence) {
return timeFilter;
}

public visResolve: Resolve;
Copy link
Collaborator Author

@plesiecki plesiecki Mar 1, 2022

Choose a reason for hiding this comment

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

This causes visResolve to be a undefined during runtime.

Copy link
Contributor

Choose a reason for hiding this comment

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

So probably we will encounter bunch of different weird issues.

@github-actions
Copy link

github-actions bot commented Mar 1, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@plesiecki plesiecki marked this pull request as draft March 2, 2022 12:37
@github-actions
Copy link

github-actions bot commented Mar 2, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

github-actions bot commented Mar 2, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@github-actions
Copy link

github-actions bot commented Mar 2, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@plesiecki plesiecki changed the title Babel only build Build two client bundles — ES5 and ES6 Mar 2, 2022
@plesiecki plesiecki marked this pull request as ready for review March 2, 2022 14:48
Copy link
Collaborator

@kzadurska kzadurska left a comment

Choose a reason for hiding this comment

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

I don't think I'd learn so much from reading docs only, thanks 🤓

@adrianmroz-allegro adrianmroz-allegro self-requested a review March 2, 2022 15:37
@github-actions
Copy link

github-actions bot commented Mar 3, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

1 similar comment
@github-actions
Copy link

github-actions bot commented Mar 3, 2022

✅ Deployed successfully to: https://turnilo-babel-build-gmbbyye42a-ew.a.run.app

@plesiecki plesiecki merged commit bc75297 into master Mar 3, 2022
@plesiecki plesiecki deleted the babel-build branch March 3, 2022 11:40
@plesiecki plesiecki mentioned this pull request Mar 3, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants