From 19b617b2576e2675f5cbd12419ef7581d330668d Mon Sep 17 00:00:00 2001 From: milahu Date: Thu, 7 Jan 2021 13:11:59 +0100 Subject: [PATCH] add: bind option sourceMapFileUrls --- src/binding.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/binding.cpp b/src/binding.cpp index c8376e982..757c05173 100644 --- a/src/binding.cpp +++ b/src/binding.cpp @@ -108,6 +108,7 @@ int ExtractOptions(v8::Local options, void* cptr, sass_context_wrapp sass_option_set_source_map_embed(sass_options, Nan::To(Nan::Get(options, Nan::New("sourceMapEmbed").ToLocalChecked()).ToLocalChecked()).FromJust()); sass_option_set_source_map_contents(sass_options, Nan::To(Nan::Get(options, Nan::New("sourceMapContents").ToLocalChecked()).ToLocalChecked()).FromJust()); sass_option_set_source_map_file(sass_options, ctx_w->source_map); + sass_option_set_source_map_file_urls(sass_options, Nan::To(Nan::Get(options, Nan::New("sourceMapFileUrls").ToLocalChecked()).ToLocalChecked()).FromJust()); sass_option_set_source_map_root(sass_options, ctx_w->source_map_root); sass_option_set_include_path(sass_options, ctx_w->include_path); sass_option_set_precision(sass_options, Nan::To(Nan::Get(options, Nan::New("precision").ToLocalChecked()).ToLocalChecked()).FromJust());