File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
src/TheIsland/NodeSassBundle Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ the_island_node_sass:
3434* ** debug** - turns on ` --source-comments `
3535* ** load_paths** - adds paths to ` --include-path `
3636* ** node** - path to your local node (might help if node is not on your path)
37-
37+ * ** source_map ** - boolean to set the source_map to true or false
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function filterLoad(AssetInterface $asset)
6161 }
6262
6363 if ($ this ->sourceMap ) {
64- $ pb ->add ('--source-map ' );
64+ $ pb ->add ('--source-map true ' );
6565 }
6666
6767 if ($ this ->debugInfo ) {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ public function getConfigTreeBuilder() {
1414 ->children ()
1515 ->scalarNode ('apply_to ' )->end ()
1616 ->scalarNode ('bin ' )->end ()
17+ ->scalarNode ('source_map ' )->defaultValue (false )->end ()
1718 ->scalarNode ('node ' )->defaultNull ()->end ()
1819 ->scalarNode ('style ' )->end ()
1920 ->booleanNode ('debug ' )->defaultFalse ()->end ()
You can’t perform that action at this time.
0 commit comments