minify support for amd.
minify support for commonjs.