mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00:02 -04:00
esoteric performance golfing
This commit is contained in:
parent
040ef7b163
commit
0f603a6d03
6 changed files with 33 additions and 37 deletions
|
@ -118,6 +118,7 @@ fn dorewrite(source_text: &str) -> Result<String> {
|
|||
prefix: "/scrammedjet/".to_string(),
|
||||
encode: Box::new(encode_string),
|
||||
wrapfn: "$wrap".to_string(),
|
||||
wrapthisfn: "$gwrap".to_string(),
|
||||
importfn: "$import".to_string(),
|
||||
rewritefn: "$rewrite".to_string(),
|
||||
metafn: "$meta".to_string(),
|
||||
|
@ -126,7 +127,7 @@ fn dorewrite(source_text: &str) -> Result<String> {
|
|||
capture_errors: true,
|
||||
do_sourcemaps: true,
|
||||
scramitize: false,
|
||||
strict_rewrites: false,
|
||||
strict_rewrites: true,
|
||||
},
|
||||
)?
|
||||
.as_slice(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue