mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 23:50:02 -04:00
source maps
This commit is contained in:
parent
36ebeb3e5c
commit
fac329b1dc
7 changed files with 144 additions and 14 deletions
|
@ -53,12 +53,15 @@ fn get_config(scramjet: &Object) -> Config {
|
|||
Config {
|
||||
prefix: get_str(config, "prefix"),
|
||||
encode: create_encode_function(get_obj(codec, "encode")),
|
||||
|
||||
wrapfn: get_str(config, "wrapfn"),
|
||||
importfn: get_str(config, "importfn"),
|
||||
rewritefn: get_str(config, "rewritefn"),
|
||||
metafn: get_str(config, "metafn"),
|
||||
setrealmfn: get_str(config, "setrealmfn"),
|
||||
pushsourcemapfn: get_str(config, "pushsourcemapfn"),
|
||||
|
||||
do_sourcemaps: get_bool(flags, "sourcemaps"),
|
||||
capture_errors: get_bool(flags, "captureErrors"),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue