add npmignore to idea folder
fix error in AMD causing ender to fail in exporting module