changing admin/posts to webpack (not complete)