Plugin Author
thom4
(@oncletom)
Hi there,
after digging a bit into it, it seems there is no way at the moment to enable Source Maps from the wp-less plugin. I raised a question on the lessphp GitHub repo to find out more about this: https://github.com/oyejorge/less.php/issues/277
Although, please note this is technically doable but not in the current state of the WordPress plugin.
Thanks a lot for your answer. I also tried to dig into it as I’m using the standalone library with the sourcemap option on an other project and I knew it was technically doable, but I found nothing :(.
But, I have to admit I didn’t understand what will happen here. Will you modify the plugin or are you letting it as-is ?
Thanks in advance !
Continue the good work !!
Hello
Is there any chance that sourcemaps will be available in the next WP-Less version?
Best Regards
ML
@mlyczko
As I needed this functionality, I left WP-Less aside and I made an homemade script to do the job based on : https://github.com/oyejorge/less.php
Plugin Author
thom4
(@oncletom)
@camilleb12 if you’d like to submit this as an improvement, you’re more than welcome to do so 🙂 I guess we can ditch leafo/less.php and focus only on relying on oyejorge/less.php one (better to have better features than maintaining a compat with two compilers IMO).
Do you need any help to get you started?
@oncletom I could share my dirty little script but it’s not a plugin, I’m not good enough to modify WP-Less to do so :(.
Hi
What’s going on with this topic?
I mean WPLess 1.8 is able to pass configuration to Less compiler or still no chance?
I have to use sourcemaps and I don’t know should I change WPLess myself or download 1.8 version?
just created pull request adding sourcmap generation
https://github.com/oncletom/wp-less/pull/107
If You can’t wait for pull request beeing approved just clone/download my fork of WP_Less https://github.com/gitowiec/wp-less