Support DefinePlugin, add CommonsChunkPlugin boilerplate