#!/bin/sh
# The generic Sass command.  dart-sass is the native compiler, which exists only
# where the Dart SDK is ported to; node-sass is the dart2js build, which runs on
# Node.js anywhere.  Prefer the native one.
set -e

if [ -x /usr/bin/dart-sass ]; then
    exec /usr/bin/dart-sass "$@"
fi

exec node /usr/share/nodejs/sass/sass.js "$@"
