dart-sass-maven-plugin icon indicating copy to clipboard operation
dart-sass-maven-plugin copied to clipboard

Add Many-to-Many Mode

Open fanfavorite opened this issue 2 years ago • 5 comments
trafficstars

Can we add a many-to-many configuration setting to this plugin? There appears to be a loadPaths to add additional input folders, however I don't see how you would configure different outputs for those.

fanfavorite avatar Nov 23 '23 18:11 fanfavorite

Hey, @fanfavorite. The many-to-many mode is the only one supported by this plugin.

The README documents the parameters you can use to specify the input and output folder.

cleydyr avatar Nov 23 '23 20:11 cleydyr

@cleydyr, inputFolder and outputFolder are separate and look to accept just one input and one output file. Can you provide an example of how you set multiple input and output folders?

fanfavorite avatar Nov 23 '23 21:11 fanfavorite

Let's see. How would you do that using the Dart Sass CLI? Depending on the necessity and the cost of implementing it, it might be added in the future.

cleydyr avatar Nov 23 '23 21:11 cleydyr

@cleydyr, this is what I am looking to configure:

sass [inputFolder1]:[outputFolder1] [inputFolder2]:[outputFolder2] [inputFolder3]:[outputFolder3]

fanfavorite avatar Nov 23 '23 21:11 fanfavorite

Hey, @fanfavorite. I consider this an enhancement. Changing the parameters requires changing the API and breaking the backward compatibility for existing projects.

cleydyr avatar Nov 24 '23 07:11 cleydyr