-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
49 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
'@cloudflare/next-on-pages': patch | ||
--- | ||
|
||
remove astring dependency | ||
|
||
remove the `astring` dependency and by doing so basically just create and edit | ||
javascript code via string manipulations. | ||
|
||
this should speed up the experimental minification (since we don't generate js code | ||
from ASTs anymore) and avoid potential bugs in the `astring` library (like #151) | ||
|
||
note that this is not the cleanest solution and that we should look into implementing | ||
more robust and stable javascript code handling via AST visiting and manipulations | ||
(but currently that has proven quite problematic since modern javascript libraries that | ||
allow such code modding have turned out to be very slow, significantly impacting DX) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters