Simpless is a Docker image bundled with:
- Define a
simpless.conf.js
in the container current directory:
module.exports = function () {
return {
example: {
files: [
{
src: 'less/example.less',
dest: 'css/example.css'
}
]
}
};
};
- Run it:
$ docker run --rm -v `pwd`:/app -w /app \
-e SIMPLESS_WATCH=yes \
-e SIMPLESS_TARGET=example \
-ti omab/simpless