
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.
@aippy/vite-plugins
Advanced tools
Vite plugins for Aippy projects - Asset management and component tagging
Vite plugins collection for Aippy projects, providing asset management and component tagging capabilities.
pnpm add -D @aippy/vite-plugins
Generates constant references for static assets and replaces hardcoded paths.
import { assetConstantsPlugin } from '@aippy/vite-plugins/asset-constants'
export default defineConfig({
plugins: [
assetConstantsPlugin({
extensions: ['.png', '.jpg', '.jpeg', '.gif', '.svg', '.mp4', '.mp3'],
srcDir: 'src',
outputFile: 'src/config/assets.json',
devMode: true
})
]
})
Scans build output and generates preload meta tags for assets.
import { aippyPreloadPlugin } from '@aippy/vite-plugins/aippy-preload'
export default defineConfig({
plugins: [
aippyPreloadPlugin({
extensions: ['.js', '.css', '.png', '.jpg', '.svg'],
outDir: 'dist',
includeSubdirs: true
})
]
})
Tags React components with metadata for development tools and inspector.
import { aippyTaggerPlugin } from '@aippy/vite-plugins/aippy-tagger'
export default defineConfig({
plugins: [
aippyTaggerPlugin()
]
})
import { assetConstantsPlugin, aippyPreloadPlugin, aippyTaggerPlugin } from '@aippy/vite-plugins'
The package also exports utility functions that can be used independently:
import {
processAssetURL,
isValidAsset,
generateConstantName,
extractAssetsFromContent,
findProjectRoot
} from '@aippy/vite-plugins/utils'
// Process asset URLs
const processedUrl = processAssetURL('./image.png') // '/image.png'
// Validate asset paths
const isValid = isValidAsset('./image.png') // true
// Generate constant names
const constantName = generateConstantName('/image.png') // 'IMAGE_ABCD'
// Extract assets from content
const assets = extractAssetsFromContent(htmlContent, 'html', ['.png', '.jpg'])
// Find project root
const projectRoot = findProjectRoot() // '/path/to/project'
UNLICENSED - Aippy Team
FAQs
Vite plugins for Aippy projects - Asset management and component tagging
We found that @aippy/vite-plugins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.