rm commonjs compat