{"library":"rollup-s3-plugin","title":"Rollup S3 Plugin","description":"A Rollup plugin that uploads compiled bundle assets to AWS S3 after each build. Version 1.0.2 (last updated 2020) is the latest stable release; the project has not seen updates since and is considered unmaintained. It mirrors the configuration of webpack-s3-plugin, using the same options such as `s3Options`, `s3UploadOptions`, and `directory`. There are no TypeScript definitions and limited error handling. Unlike alternatives like `rollup-plugin-aws`, this plugin batches uploads but lacks modern features (e.g., multi-region, S3 transfer acceleration).","language":"javascript","status":"abandoned","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-s3-plugin"],"cli":null},"imports":["import s3Plugin from 'rollup-s3-plugin';","import { s3Upload } from 'rollup-s3-plugin';","import type { S3PluginOptions } from 'rollup-s3-plugin';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import s3Plugin from 'rollup-s3-plugin';\n\nconst accessKeyId = process.env.AWS_ACCESS_KEY_ID ?? '';\nconst secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY ?? '';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'esm'\n  },\n  plugins: [\n    s3Plugin({\n      s3Options: {\n        accessKeyId,\n        secretAccessKey,\n        region: 'us-east-1'\n      },\n      s3UploadOptions: {\n        Bucket: 'my-bucket',\n        ACL: 'public-read'\n      },\n      directory: 'dist'\n    })\n  ]\n};","lang":"javascript","description":"Configures Rollup to upload all files from 'dist' directory to an S3 bucket after each build. Uses environment variables for AWS credentials.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}