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: dynamic import chunk is_entry should be false #361

Merged

Conversation

underfin
Copy link
Contributor

Description

Test Plan


@underfin
Copy link
Contributor Author

underfin commented Nov 22, 2023

}
}

fn render_stats_to_snapshot(&mut self, assets: Vec<Output>) {
Copy link
Member

Choose a reason for hiding this comment

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

Cool. It would be good if you could separate the testing changes in another PR.

I'm not sure if we need this information. I tend to not add this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I want to make sure the output stats are tested, Add this to the rust side because it is easy to debugger than js side. Maybe you have another idea for this?

Copy link
Contributor Author

@underfin underfin Nov 22, 2023

Choose a reason for hiding this comment

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

I'm not sure if we need this information. I tend to not add this.

The information is used at vite, it is also rust exported stats data, it should be tested.

Copy link
Member

Choose a reason for hiding this comment

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

Any ideas on how rollup or esbuild test this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the test at the pr, it is can merged at now

Base automatically changed from 11-22-refactor_add_EntryPoint_ to main November 22, 2023 12:28
@underfin underfin force-pushed the 11-22-fix_dynamic_import_chunk_is_entry_should_be_false branch from f051c35 to 239cf2e Compare November 22, 2023 12:39
@underfin underfin force-pushed the 11-22-fix_dynamic_import_chunk_is_entry_should_be_false branch from 239cf2e to 325c04c Compare November 22, 2023 12:42
@underfin underfin merged commit 6f2b75a into main Nov 22, 2023
6 checks passed
@underfin underfin deleted the 11-22-fix_dynamic_import_chunk_is_entry_should_be_false branch November 22, 2023 12:50
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.

None yet

2 participants