oyejorge / less.php

less.js ported to PHP.
http://lessphp.typesettercms.com
Apache License 2.0
657 stars 2 forks source link

Parser does not recognize @plugin #366

Open MikeYV opened 5 years ago

MikeYV commented 5 years ago

Hi I am using https://github.com/seanCodes/bootstrap-less-port

It gives me this error

Fatal error: Uncaught Less_Exception_Chunk: ParseError: Unexpected input in _functions.less on line 5, column 1

  | 3| // Utility mixins and functions for evalutating source code across our variables, maps, and mixins.   | 4|   | 5| @plugin "plugins/index";   | 6| @plugin "plugins/map-get";

hprasetyou commented 5 years ago

same issue

bkrsmanovic commented 5 years ago

You have in About:

About The code structure of less.php mirrors that of the official processor which helps us ensure compatibility and allows for easy maintenance.

Please note, there are a few unsupported LESS features:

Evaluation of JavaScript expressions within back-ticks (for obvious reasons). Definition of custom functions.

Definition of custom functions So I guess, it can't be used.