add compatibility with brunch