build assets and plugins directory