
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
vite-plugin-aws3
Advanced tools
This plugin will upload all built assets to s3.
This package was heavily inspired by vite-plugin-s3
$ npm i vite-plugin-aws3
$ yarn add vite-plugin-aws3
vite-plugin-aws3 in your vite config file and add it as a vite plugin.import viteAws from 'vite-plugin-aws3';
export default defineConfig({
plugins: [
viteAws({
s3: {
profile: 'my_aws_profile',
region: 'us-east-1',
bucket: 'my-website-bucket',
},
cloudFront: {
distributionId: 'E3IXXXXXXXXXX',
paths: ['/*'],
},
}),
]
});
viteAws({
exclude: /.*\.img/,
include: /.*\.js$/,
uploadEnabled: !!process.env.UPLOAD_ENABLED,
s3: {
profile: 'my_aws_profile',
region: 'us-east-1',
bucket: 'my-website-bucket',
},
cloudFront: {
distributionId: 'E3IXXXXXXXXXX',
paths: ['/*'],
},
})
| Option | Type | Default | Description |
|---|---|---|---|
uploadEnabled | Boolean | true | This setting can be used to disable or enable the uploading of assets |
exclude | String | A Regex Pattern to match for excluded content | |
include | String | A Regex Pattern to match for included content. Behaves the same as exclude |
$ UPLOAD_ENABLED=true yarn prod
FAQs
This plugin will deploy assets to AWS (S3 & Cloudfront)
We found that vite-plugin-aws3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.