add conf tpl, ignore js files in config/env