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

feat: Code Splitting #3860

Merged
merged 47 commits into from
Aug 2, 2023
Merged

feat: Code Splitting #3860

merged 47 commits into from
Aug 2, 2023

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Jul 27, 2023

Closes #3857

Changes proposed in this pull request:
Read the plan laid out in the issue to understand the changes introduced here.

Necessity

  • Has the problem that is being solved here been clearly explained?
  • If applicable, have various options for solving this problem been considered?
  • For core PRs, does this need to be in core, or could it be in an extension?
  • Are we willing to maintain this for years / potentially forever?

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).
  • Core developer confirmed locally this works as intended.
  • Tests have been added, or are not appropriate here.

Related PRs

SychO9 added 30 commits July 27, 2023 14:14
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
@SychO9 SychO9 requested a review from a team as a code owner July 27, 2023 13:14
Copy link
Member

@dsevillamartin dsevillamartin left a comment

Choose a reason for hiding this comment

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

Looks like chunk naming doesn't work on Windows. The chunk name ends up being undefined and so breaks the forum.

Works fine on WSL so ik this is (yet another) Windows-only bug 😅

Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
@SychO9 SychO9 self-assigned this Jul 27, 2023
Signed-off-by: Sami Mazouz <[email protected]>
@SychO9
Copy link
Member Author

SychO9 commented Aug 2, 2023

Should work on windows now

@SychO9 SychO9 requested a review from imorland August 2, 2023 09:28
@SychO9
Copy link
Member Author

SychO9 commented Aug 2, 2023

Ignore backend failures, will deal with those separately.

Copy link
Member

@imorland imorland left a comment

Choose a reason for hiding this comment

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

Nicely done @SychO9 👏

@SychO9 SychO9 merged commit 229a7af into 2.x Aug 2, 2023
11 of 19 checks passed
@SychO9 SychO9 deleted the sm/code-splitting branch August 2, 2023 16:57
@SychO9 SychO9 added this to the 2.0 milestone Aug 2, 2023
@SychO9 SychO9 removed their assignment Aug 2, 2023
@SychO9 SychO9 added breaking-changes extension-breaking javascript Pull requests that update Javascript code labels Aug 2, 2023
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.

Code Splitting
4 participants