Overview
Gulp Gcloud Publish is a powerful tool for developers looking to streamline their file uploads to Google Cloud Storage. By integrating seamlessly with Gulp, this plugin simplifies the deployment process, ensuring that files are uploaded efficiently while providing a variety of configuration options to cater to your specific needs. Whether you are working with large files or want to automate the gzip compression, this plugin offers a versatile solution that aligns with modern development practices.
Features
- Bucket Configuration: Specify the exact bucket name where files will be uploaded, making it easy to manage your storage.
- Gzip Support: Optional gzip compression can be enabled, allowing Google to automatically compress files, which is ideal for reducing load times.
- Key File Integration: Securely include your Google Cloud API key file with a straightforward keyFilename configuration for easy authentication.
- Project Identification: Easily set your Google Cloud Project ID to maintain organization and clarity when working with multiple projects.
- Base Path Definition: Configure the base path for uploads, defaulting to "/public", which helps in maintaining a clean file structure.
- Public Access Setting: An optional boolean can be set to mark files as public upon upload, enhancing accessibility for shared resources.
- Resumable Uploads: For larger files exceeding 10MB, toggle the resumable option for more reliable uploads, ensuring no data is lost.
- Transform Destination Functionality: Customize how files are stored in the bucket with a function that alters the final destination, adding flexibility to your upload process.