From c21e356db65b53d8f6bd834c61e9327a4bdd1111 Mon Sep 17 00:00:00 2001 From: Md Mosharaf Hossan Date: Thu, 13 Jul 2023 18:12:18 +0700 Subject: [PATCH] [#414] Enable source map in css build (#444) --- .template/variants/web/package.json.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.template/variants/web/package.json.rb b/.template/variants/web/package.json.rb index 684ede1d9..a6b89f8b1 100644 --- a/.template/variants/web/package.json.rb +++ b/.template/variants/web/package.json.rb @@ -44,7 +44,7 @@ source_stylesheet = 'app/assets/stylesheets/application.scss' bundled_stylesheet = 'app/assets/builds/application.css' bundled_stylesheet_base_options = [ - '--no-source-map', + '--source-map-urls=absolute', '--load-path=node_modules' ] production_bundled_stylesheet_options = bundled_stylesheet_base_options + [