 Would be nice to make it compatible with rspack