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(webpack): chunk name normalization for catch-all pages and windows #7603

Merged
merged 4 commits into from Jun 24, 2020

Conversation

aldarund
Copy link

@aldarund aldarund commented Jun 24, 2020

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

For _.vue SplitChunks will generate route starting with dot and it will lead to 404 for this chunks
Dropped window path replace to be in line with Linux, as seems to work fine on win without it

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

@pi0 pi0 changed the title fix: catch all route chunk not found fix(webpack): chunk name normalization for catch-all pages and windows Jun 24, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jun 24, 2020

Codecov Report

Merging #7603 into dev will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #7603      +/-   ##
==========================================
+ Coverage   70.26%   70.28%   +0.01%     
==========================================
  Files          88       88              
  Lines        3747     3745       -2     
  Branches     1020     1019       -1     
==========================================
- Hits         2633     2632       -1     
+ Misses        905      904       -1     
  Partials      209      209              
Flag Coverage Δ
#unittests 70.28% <100.00%> (+0.01%) ⬆️
Impacted Files Coverage Δ
packages/utils/src/resolve.js 98.11% <100.00%> (+1.74%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56b158e...83e7808. Read the comment docs.

@aldarund aldarund requested a review from pi0 June 24, 2020 20:38
@pi0 pi0 merged commit d89812f into dev Jun 24, 2020
@pi0 pi0 deleted the fix-catch-all-chunk-not-found branch June 25, 2020 09:39
This was referenced Jun 26, 2020
@aaronhuisinga
Copy link

@aldarund @pi0 This introduced a regression breaking dynamic routing in AWS API Gateway and likely many other services. According to RFC3986, square brackets are not valid in URIs, and several services don't allow them. API Gateway will return a 400 with any request containing them, as an example (that we're currently running into).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants