Title: Sourcemaps
Last modified: August 30, 2016

---

# Sourcemaps

 *  [CamilleB12](https://wordpress.org/support/users/camilleb12/)
 * (@camilleb12)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/sourcemaps/)
 * I can’t find how to modify LESSPHP configuration to enable sourcemaps. Could 
   you help me ? Thanks in advance :).
 * [https://wordpress.org/plugins/wp-less/](https://wordpress.org/plugins/wp-less/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [thom4](https://wordpress.org/support/users/oncletom/)
 * (@oncletom)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720813)
 * 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](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.
 *  Thread Starter [CamilleB12](https://wordpress.org/support/users/camilleb12/)
 * (@camilleb12)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720902)
 * 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 !!
 *  [mlyczko](https://wordpress.org/support/users/mlyczko/)
 * (@mlyczko)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720963)
 * Hello
 * Is there any chance that sourcemaps will be available in the next WP-Less version?
 * Best Regards
    ML
 *  Thread Starter [CamilleB12](https://wordpress.org/support/users/camilleb12/)
 * (@camilleb12)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720964)
 * [@mlyczko](https://wordpress.org/support/users/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](https://github.com/oyejorge/less.php)
 *  Plugin Author [thom4](https://wordpress.org/support/users/oncletom/)
 * (@oncletom)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720965)
 * [@camilleb12](https://wordpress.org/support/users/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?
 *  Thread Starter [CamilleB12](https://wordpress.org/support/users/camilleb12/)
 * (@camilleb12)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720966)
 * [@oncletom](https://wordpress.org/support/users/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 :(.
 *  [Makapaka](https://wordpress.org/support/users/makapaka/)
 * (@makapaka)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720975)
 * 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?
 *  [Makapaka](https://wordpress.org/support/users/makapaka/)
 * (@makapaka)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720976)
 * just created pull request adding sourcmap generation
    [https://github.com/oncletom/wp-less/pull/107](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](https://github.com/gitowiec/wp-less)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Sourcemaps’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-less.svg)
 * [WP-LESS](https://wordpress.org/plugins/wp-less/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-less/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-less/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-less/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-less/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-less/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Makapaka](https://wordpress.org/support/users/makapaka/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/sourcemaps/#post-6720976)
 * Status: not resolved