fix input module
add missing imports
expose codemirror
Merge branch 'webpack' into tree